Xceed DataGrid for WPF v7.2 Documentation
DisplayedMonth Property


Xceed.Wpf.Controls Assembly > Xceed.Wpf.Controls Namespace > DatePicker Class : DisplayedMonth Property

Gets or sets the month currently displayed in the DatePicker's calendar.

Syntax
'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;}

Property Value

A value representing the month currently displayed in the DatePicker's calendar. By default, DateTime.MinValue.Month.
Remarks

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.

Requirements

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

See Also

Reference

DatePicker Class
DatePicker Members