Skip to main content
A newer version of this page is available. .

DateNavigationPanel.DisplayText Property

Returns the text displayed in the panel that indicates the currently visible interval. This is a dependency property.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v19.1.dll

Declaration

public string DisplayText { get; }

Property Value

Type Description
String

A System.String value that is the text displayed by the date navigation panel.

Remarks

The text format 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