windowsforms-devexpress-dot-xtraeditors-dot-trackbarcontrol-b00956af.md
Moves the thumb to the right by the SmallChange value.
Namespace : DevExpress.XtraEditors
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
public virtual void MoveRight()
Public Overridable Sub MoveRight
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.
public Form1() {
InitializeComponent();
trackBarControl1.Properties.SmallChange = 1;
}
void btnRight_Click(object sender, EventArgs e) {
trackBarControl1.MoveRight();
}
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