A newer version of this page is available. Switch to the current version.

ScaleBasedRangeControlClientOptions.AutoFormatScaleCaptions Property

Specifies whether auto-formats should be applied to header captions of RangeControl scales.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v18.2.dll

Declaration

[DefaultValue(true)]
public bool AutoFormatScaleCaptions { get; set; }

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
.OptionsRangeControl.AutoFormatScaleCaptions

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.

OptionsRangeControl_AutoFormatScaleCaptions

To strictly specify the format for the string displayed in a scale header, set the TimeScale.DisplayFormat property and switch off the AutoFormatScaleCaptions option.

See Also