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

TrackBarEdit.Steps Property

Gets or sets a collection of custom track bar steps. This is a dependency property.

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v24.2.dll

NuGet Package: DevExpress.Wpf.Core

#Declaration

public DoubleCollection Steps { get; set; }

#Property Value

Type Description
DoubleCollection

A DoubleCollection of predefined custom steps.

#Remarks

Use the Steps property to get or set a collection of custom steps.

When TrackBarEdit.IsSnapToStepEnabled property is set to true, the track bar’s thumb snaps to custom steps when dragging it alongside the track bar.

When TrackBarEdit.IsSnapToStepEnabled property is set to true and the TrackBarEdit.IsMoveToPointEnabled is set to false, the track bar’s thumb snaps to custom steps when clicking the track bar scale or zoom buttons.

See Also