'Declaration Public Property DisplayedMonth As Integer
'Usage Dim instance As DatePicker Dim value As Integer instance.DisplayedMonth = value value = instance.DisplayedMonth
public int DisplayedMonth {get; set;}
Gets or sets the month currently displayed in the DatePicker's calendar.
'Declaration Public Property DisplayedMonth As Integer
'Usage Dim instance As DatePicker Dim value As Integer instance.DisplayedMonth = value value = instance.DisplayedMonth
public int DisplayedMonth {get; set;}
Changing this property will cause the CalendarItems collection to update with the values of the new month.
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