cant find MinDate Property in WPF Calendar Control

Total Post:128

Points:898
VB.Net 
 1740  View(s)
Ratings:
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!
  1. Post:604

    Points:4228
    Re: cant find MinDate Property in WPF Calendar Control

    Hi Ashish,

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

    Try as following

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

    I hope it resolve your problem. 

      Modified On Mar-30-2018 03:34:12 AM

Answer