RepositoryItemToggleSwitch.ThumbWidth Property
Gets or sets the width of the editor’s thumb (in pixels).
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v24.2.dll
Declaration
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:
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.
See Also