To set the maximum and minimum allowable dates for the C1Calendar, use the CalendarBase.MaxDate and CalendarBase.MinDate properties.
Using Visual Studio
To set the maximum and minimum allowable dates for the C1Calendar in Visual Studio:
Using XAML
The following XAML sets the CalendarBase.MaxDate and CalendarBase.MinDate properties:
XAML |
Copy Code
|
---|---|
<c1:C1Calendar HorizontalAlignment="Left" Margin="10,10,0,0" Name="c1Calendar1" VerticalAlignment="Top" MaxDate="2099-12-31" MinDate="1700-01-01" /> |