Home > DeveloperSection > Forums > cant find MinDate Property in WPF Calendar Control
Ashish Pandey

Total Post:128

Posted on    June-13-2013 8:08 AM

 VB.Net VB.Net 

 1 Reply(s)
 1012  View(s)
Rate this:
Hi Developers,

I can't find minDate Property in Calendar control in WPF 4.0.

If there is no minDate or maxDate property in Calendar Control then how could I achieve the same?

Any help would be amazing thank you!


Total Post:604

Posted on    June-14-2013 1:40 AM

Hi Ashish,

Are you just looking to restrict the selectable beginning/ending dates? If so you can use DisplayDateStart and DisplayDateEnd:

Try as following

        <Calendar ... DisplayDateStart="5/1/2013" DisplayDateEnd="3/31/2014" />

I hope it resolve your problem. 

Don't want to miss updates? Please click the below button!

Follow MindStick