Back to Devexpress

TrackBarControl.MoveRight() Method

windowsforms-devexpress-dot-xtraeditors-dot-trackbarcontrol-b00956af.md

latest2.3 KB
Original Source

TrackBarControl.MoveRight() Method

Moves the thumb to the right by the SmallChange value.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Remarks

Users can use the Right or Up arrow key to move the focused slider to the right by the SmallChange value. In the Vertical orientation mode, MoveRight method and Right / Up arrow key key move the thumb to the top.

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

See Also

SmallChange

MoveBegin()

MoveEnd()

MoveLargeRight()

MoveLargeLeft()

MoveLeft()

TrackBarControl Class

TrackBarControl Members

DevExpress.XtraEditors Namespace