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

    Focuses the specified thumb.

    Namespace: DevExpress.XtraEditors

    Assembly: DevExpress.XtraEditors.v26.1.dll

    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