Skip to main content

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.v22.2.dll

NuGet Package: DevExpress.Wpf.Gauges


public LinearScaleRangeBarCollection RangeBars { get; }

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