'Declaration Public Property DisplayedYear As Integer
'Usage Dim instance As DatePicker Dim value As Integer instance.DisplayedYear = value value = instance.DisplayedYear
public int DisplayedYear {get; set;}
'Declaration Public Property DisplayedYear As Integer
'Usage Dim instance As DatePicker Dim value As Integer instance.DisplayedYear = value value = instance.DisplayedYear
public int DisplayedYear {get; set;}
Changing this property will cause the CalendarItems collection to update with the values of the new month/year.
If the SyncCalendarWithSelectedDate property is set to true, changes made to the SelectedDate will also be applied to the DisplayedMonth/DisplayedYear properties.
Target Platforms: Windows 11, Windows, 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2