Blog

Calendar Control In WPF

By Mahak Gupta Jan 07 2012
Here we discuss the Selection Mode property of the Calendar Control.
    • Like
    • Love It
    • Awesome
    • Interesting
    • It's Okay
    • Thumbs Down
  • 2.9k
  • 0
The Calendar Control provides us the multiple selection modes like (MultipleRange, SingleDate, SingleRange).
We can set it according to our requirements. In my example, I use the MultipleRange mode:

12345.png

<Grid>
        <my:Calendar Margin="10,10,88,82" Name="calendar1" SelectionMode="MultipleRange" />
  </Grid>



After that when we run this program:

123456.png