Gets or sets the date to display.
Assembly: PresentationFramework (in PresentationFramework.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation
The and DisplayMode properties specify what the calendar displays and what has focus within the calendar. The user can change the SelectedDate only when DisplayMode is set to Month, but the user might change the when the Calendar is in Year and Decade mode. The following table describes how the mode changes the .
changes when the user navigates to a different month.
The month of changes when the user clicks or navigates to a different month.
The year of changes when the user clicks or navigates to another year.
The following code sets up a Calendar with a particular range of displayable dates, and sets the currently selected and displayed date.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.