Skip to main content

ScaleBasedRangeControlClientOptions.AutoFormatScaleCaptions Property

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

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.1.dll

NuGet Package: DevExpress.Win.Scheduler

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.

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