Skip to main content

TimeRuler.Caption Property

Gets or sets the time ruler’s caption. This is a dependency property.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v23.2.dll

NuGet Package: DevExpress.Wpf.Scheduling

Declaration

public string Caption { get; set; }

Property Value

Type Description
String

A String values that is the time ruler’s caption.

Remarks

Use the Caption property to indicate a time zone or a geographical region the time ruler displays, as shown in the image below:

DXScheduler_TimeRuler_Caption

If the Caption property is set to the Empty value, no caption is displayed.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Caption property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also