Back to Devexpress

BarToggleSwitchItem.EditorToThumbWidthRatio Property

windowsforms-devexpress-dot-xtrabars-dot-bartoggleswitchitem-4eb9b532.md

latest1.6 KB
Original Source

BarToggleSwitchItem.EditorToThumbWidthRatio Property

Gets or sets the width ratio between the toggle switch editor and its thumb.

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(0F)]
[DXCategory("Layout")]
public float EditorToThumbWidthRatio { get; set; }
vb
<DXCategory("Layout")>
<DefaultValue(0F)>
Public Property EditorToThumbWidthRatio As Single

Property Value

TypeDefaultDescription
Single0

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

BarToggleSwitchItem Class

BarToggleSwitchItem Members

DevExpress.XtraBars Namespace