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.2.dll

Declaration

public DateNavigationPanelDisplayMode? DisplayMode { get; set; }

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

Single day interval

Single month interval

Single year interval

Two or more years interval

DayModeSameDayFormat

DayModeSameMonthFormat

DayModeSameYearFormat

DayModeFullFormat

Month

Single day interval

Single month interval

Single year interval

Two or more years interval

-

MonthModeSameMonthFormat

MonthModeSameYearFormat

MonthModeFullFormat

Set the ShowText property to false to hide the text.

See Also