Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Calendar control SelectedDates programmatically only

$
0
0

Hi, in Windows Form application I could display BoldedDates and current date.

Now, in WPF I want to display a known list of dates programmatically and not allow user to select any date. In other words this calendar is only to highlight dates from a table and not for user selection.

If I set SelectedDates programmatically, they are gone as soon as user selects a date on the gui !

How to make the calendar read-only for the user but set dates by the program?

btw, it's not fun yet using WPF calendar control, no built-in option to show full year calendar !

Thanks,

-srinivas y.


sri


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>