Skip to main content

ASPxClientTrackBarPositionChangingEventArgs.newPosition Property

Gets a position where the drag handle is being moved.

Declaration

newPosition: number

Property Value

Type Description
number

The drag handle position.

Remarks

Use the newPosition property to obtain the position where the drag handle is being moved. To get the current handle position, use the ASPxClientTrackBarPositionChangingEventArgs.currentPosition property.

When the TrackBarProperties.AllowRangeSelection is set to true, a track bar displays two drag handles to support the value range selection. In this case, use the ASPxClientTrackBarPositionChangingEventArgs.currentPositionStart and ASPxClientTrackBarPositionChangingEventArgs.currentPositionEnd properties to access the current handles’ positions. To access the new positions, use the ASPxClientTrackBarPositionChangingEventArgs.newPositionStart and ASPxClientTrackBarPositionChangingEventArgs.newPositionEnd properties.

See Also