Skip to main content
All docs
V25.1
  • RangeTrackBarControl.Focus(RangeTrackBarThumb) Method

    Focuses the specified thumb.

    Namespace: DevExpress.XtraEditors

    Assembly: DevExpress.XtraEditors.v25.1.dll

    NuGet Package: DevExpress.Win.Navigation

    Declaration

    public void Focus(
        RangeTrackBarThumb thumb
    )

    Parameters

    Name Type Description
    thumb RangeTrackBarThumb

    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