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

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

NuGet Package: DevExpress.Wpf.Gauges

#Declaration

public LinearScaleRangeBarCollection RangeBars { get; }

#Property Value

Type Description
LinearScaleRangeBarCollection

A LinearScaleRangeBarCollection object that contains scale range bars.

#Remarks

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