Back to Devexpress

TrackBarControl.MoveLeft() Method

windowsforms-devexpress-dot-xtraeditors-dot-trackbarcontrol-27b98765.md

latest2.3 KB
Original Source

TrackBarControl.MoveLeft() Method

Moves the thumb to the left by the SmallChange value.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public virtual void MoveLeft()
vb
Public Overridable Sub MoveLeft

Remarks

Users can use the Left or Down arrow key to move the focused slider to the left by the SmallChange value. In the Vertical orientation mode, MoveLeft method and Left / Down arrow key key move the thumb to the bottom.

csharp
public Form1() {
    InitializeComponent();
    trackBarControl1.Properties.SmallChange = 1;
}
void btnLeft_Click(object sender, EventArgs e) {
    trackBarControl1.MoveLeft();
}
vb
Public Sub New()
    InitializeComponent()
    trackBarControl1.Properties.SmallChange = 1
End Sub
Private Sub btnLeft_Click(ByVal sender As Object, ByVal e As EventArgs)
    trackBarControl1.MoveLeft()
End Sub

See Also

SmallChange

MoveBegin()

MoveEnd()

MoveLargeRight()

MoveLargeLeft()

MoveRight()

TrackBarControl Class

TrackBarControl Members

DevExpress.XtraEditors Namespace