Back to Devexpress

ScaleBasedRangeControlClientOptions.AutoFormatScaleCaptions Property

windowsforms-devexpress-dot-xtrascheduler-dot-scalebasedrangecontrolclientoptions-6045ba77.md

latest2.3 KB
Original Source

ScaleBasedRangeControlClientOptions.AutoFormatScaleCaptions Property

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

Namespace : DevExpress.XtraScheduler

Assembly : DevExpress.XtraScheduler.v25.2.dll

NuGet Package : DevExpress.Win.Scheduler

Declaration

csharp
[DefaultValue(true)]
public bool AutoFormatScaleCaptions { get; set; }
vb
<DefaultValue(True)>
Public Property AutoFormatScaleCaptions As Boolean

Property Value

TypeDefaultDescription
Booleantrue

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

Scales

MinIntervalWidth

ScaleBasedRangeControlClientOptions Class

ScaleBasedRangeControlClientOptions Members

DevExpress.XtraScheduler Namespace