RangeTrackBarControl.Focus(RangeTrackBarThumb) Method
In This Article
Focuses the specified thumb.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
public void Focus(
RangeTrackBarThumb thumb
)
#Parameters
Name | Type | Description |
---|---|---|
thumb | Range |
The thumb to focus. |
#Remarks
The following code sample moves the thumb that indicates the maximum value to the left:
void buttonMoveLeft_Click(object sender, EventArgs e) {
rangeTrackBarControl1.Focus(DevExpress.XtraEditors.RangeTrackBarThumb.Max);
rangeTrackBarControl1.MoveLeft();
}
See Also