Skip to main content
All docs
V25.1
  • DevExpress v25.1 Update — Your Feedback Matters

    Our What's New in v25.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

    Take the survey Not interested

    RepositoryItemToggleSwitch.ThumbWidth Property

    Gets or sets the width of the editor’s thumb (in pixels).

    Namespace: DevExpress.XtraEditors.Repository

    Assembly: DevExpress.XtraEditors.v25.1.dll

    NuGet Package: DevExpress.Win.Navigation

    #Declaration

    [DefaultValue(0)]
    [DXCategory("Behavior")]
    public int ThumbWidth { get; set; }

    #Property Value

    Type Default Description
    Int32 0

    The thumb width.

    #Remarks

    The EditorToThumbWidthRatio property allows you to specify the editor width as a multiple of the thumb width:

    Editor to Thumbnail Ratio

    For older skins in which thumbs have a rectangular shape, you can modify the ThumbWidth property to customize the width of the thumb itself. This custom value is multiplied according to the EditorToThumbWidthRatio property value to calculate the total editor width.

    Thumbnail Width

    See Also