Skip to main content

TimeRuler.Caption Property

Gets or sets the time ruler’s caption.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v22.2.Core.Desktop.dll

NuGet Package: DevExpress.Scheduler.CoreDesktop


public string Caption { get; set; }

Property Value

Type Default Description
String String.Empty

A String value which specifies the time ruler’s caption.


The time ruler‘s caption is displayed above the ruler as shown in the image below. If the Caption property is set to the Empty value, no caption is displayed. Captions are often used to indicate a time zone or geographical region whose standard time a ruler displays.


The following code snippets (auto-collected from DevExpress Examples) contain references to the Caption property.


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