ScaleBasedRangeControlClientOptions.AutoFormatScaleCaptions Property
Specifies whether auto-formats should be applied to header captions of RangeControl scales.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v18.1.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | true |
true if auto-formats are applied to header captions of scales; otherwise, false. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to AutoFormatScaleCaptions |
---|---|
SchedulerControl |
|
Remarks
If the AutoFormatScaleCaptions property is set to true, header captions of RangeControl scales will be automatically adjusted after the RangeControl viewport has been resized or zoomed. In this case, scale captions will be left readable regardless of the time scale element width.
To strictly specify the format for the string displayed in a scale header, set the TimeScale.DisplayFormat property and switch off the AutoFormatScaleCaptions option.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AutoFormatScaleCaptions 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.