TimeScaleBase.DisplayFormat Property
Gets or sets the format of the string displayed in the timeline caption.
Namespace: DevExpress.Xpf.Scheduling
Assembly: DevExpress.Xpf.Scheduling.v19.1.dll
Declaration
Property Value
Type | Description |
---|---|
String | A String value specifying the format string of the caption. |
Remarks
Specify the format string as illustrated in the following code snippet:
<dxsch:TimeScaleWeek DisplayFormat="{}{0:dddd dd MMMM yyyy}"/>
<dxsch:TimeScaleDay DisplayFormat="{}{0:dd ddd}"/>
Tip
Use the TimeScaleBase.DisplayFormats property to specify the collection of format strings. A suitable format string will be automatically selected depending on the timeline header width.
See Also