Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ScaleBasedRangeControlClientOptions.AutoFormatScaleCaptions Property

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

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.2.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.

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