LinearScale.RangeBars Property

Provides access to a collection of range bars contained in the current Linear Scale.

Namespace: DevExpress.Xpf.Gauges

Assembly: DevExpress.Xpf.Gauges.v20.1.dll


public LinearScaleRangeBarCollection RangeBars { get; }
Public ReadOnly Property RangeBars As LinearScaleRangeBarCollection

Property Value

Type Description

A LinearScaleRangeBarCollection object that contains scale range bars.


Use the RangeBars property to add or remove range bars to the current scale, as well as to customize different settings of individual scale range bars. A single range bar is an instance of the LinearScaleRangeBar class and can be accessed via the GaugeDependencyObjectCollectionBase<T>.Item property of a LinearScaleRangeBarCollection object.

See Also