DateNavigationPanel.DisplayMode Property
Gets or sets whether the panel displays the days of the month. This is a dependency property.
Namespace: DevExpress.Xpf.Scheduling
Assembly: DevExpress.Xpf.Scheduling.v20.1.dll
NuGet Packages: DevExpress.WindowsDesktop.Wpf.Scheduling, DevExpress.Wpf.Scheduling
Declaration
Property Value
Type | Description |
---|---|
Nullable<DevExpress.Xpf.Scheduling.DateNavigationPanelDisplayMode> | A DevExpress.Xpf.Scheduling.DateNavigationPanelDisplayMode enumeration value. The default is DateNavigationPanelDisplayMode.Day |
Remarks
If the DisplayMode property is set to DateNavigationPanelDisplayMode.Month, the text displayed in the panel shows only the month and year.
The format of the text displayed in the panel depends on the DisplayMode property value, how many time units the interval spans, and the corresponding format string.
DisplayMode | Formatting property | ||||||||
---|---|---|---|---|---|---|---|---|---|
Day |
| ||||||||
Month |
|
Set the ShowText property to false to hide the text.