TrackBarSettings.PositionStart Property

Gets or sets the main drag handle position.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v20.2.dll


public decimal PositionStart { get; set; }
Public Property PositionStart As Decimal

Property Value

Type Description

A Decimal value that specifies the position.


When the TrackBarProperties.AllowRangeSelection property is set to true a TrackBar displays two drag handles to support the value range selection. In this case, the PositionStart property specifies the position of the main drag handle. To specify a secondary drag handle position, use the TrackBarSettings.PositionEnd property. If the AllowRangeSelection property is set to false you can specify a position of the single drag handle using the TrackBarSettings.Position property.

If the TrackBarProperties.Items collection is specified, the PositionStart property returns a zero-based index of an item where the main drag handle is placed. If the Items collection is empty, the PositionStart property is equal to the item's TrackBarItem.Value property.

The available range of values the PositionStart property is determined by the TrackBarProperties.MinValue and TrackBarProperties.MaxValue property values.


     settings => {
          settings.Name = "myTrackBar";
          settings.Properties.AllowRangeSelection = true;
          settings.Properties.ScalePosition = ScalePosition.LeftOrTop;
          settings.Properties.ValueToolTipPosition = ValueToolTipPosition.RightOrBottom;
          settings.Properties.ValueToolTipFormatString = "{0}%...{1}%";
          settings.Properties.Step = 1;
          settings.PositionStart = 10;
          settings.PositionEnd = 30;
See Also