Skip to main content
Tab

TrackBarProperties.Direction Property

Gets or sets a value which defines the track bar direction.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(Direction.Normal)]
public Direction Direction { get; set; }

Property Value

Type Default Description
Direction Normal

One of the Direction enumeration values.

Available values:

Name Description
Reversed

An editor is displayed in the reversed direction: from right to left for horizontal orientation, and from bottom to top for vertical orientation.

Normal

An editor is located in the default (normal) direction: from left to right for horizontal orientation, and from top to bottom for vertical orientation.

Remarks

ASPxTrackBar can be displayed in a normal or reversed mode that is controlled by the Direction property. In the reversed mode, the ASPxTrackBar control direction (from TrackBarProperties.MinValue to TrackBarProperties.MaxValue) turns from left to right, to right to left (or from up to down, to down to up if it is in vertical orientation mode).

Note

The Direction property synchronizes its value with the editor’s ASPxTrackBar.Direction property.

See Also