WPF provides all the features for the calendar control. Calendar control has four features.They are:
Features
Set the displayedDate
Multiple selection modes
Blockout dates
Calendar modes
DisplayedDate
Description
By default, the calendar control shows the current date but if wanted to change the current date into a different date that can be done by using displaydate property.
Create a new window and take one stack pannel from the toolkit then drag and drop calendar control from the toolkit or write following xmal code.
[csharp]<Window x:Class="WPFCalendercontrol.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="WPF | Calender" Height="350" Width="525">
<Grid>
<StackPanel>
<Calendar DisplayDate="10/16/2015" Width="300" Height="300" ></Calendar>
</StackPanel>
</Grid>
</Window>
[/csharp]
Now run the application.Then following screen appears.
More Info
Here three more properties are there. SelectedDate, DisplayDateStart, and DisplayDateEnd. By using these three properties one can select date from the calender, set the start date, and end date.