Cannot find MinDate property in WPF Calendar Control

Can anybody help me?

I cannot find the minDate property in a calendar control in WPF 4.0.

If the calendar control does not have the minDate or maxDate property, then how can I achieve the same?

+6
source share
1 answer

Do you just want to limit the selected start and end dates? If so, you can use DisplayDateStart and DisplayDateEnd:

<Grid> <Calendar ... DisplayDateStart="5/1/2013" DisplayDateEnd="3/31/2014" /> </Grid> 
+19
source

Source: https://habr.com/ru/post/946953/


All Articles