BarToggleSwitchItem.EditorToThumbWidthRatio Property
Gets or sets the width ratio between the toggle switch editor and its thumb.
Namespace: DevExpress.XtraBars
Assembly: DevExpress.XtraBars.v25.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
[DefaultValue(0F)]
[DXCategory("Layout")]
public float EditorToThumbWidthRatio { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Single | 0 | The width ratio between the toggle switch editor and its thumb. 0 resets the toggle switch editor to the default width. |
Remarks
Use the EditorToThumbWidthRatio
property to specify the width in thumbs of a BarToggleSwitchItem‘s editor:
See Also