ToggleSwitch.ContentPlacement Property
Gets or sets the position of the content area relative to the toggle switch. This is a dependency property.
Namespace: DevExpress.Xpf.Editors
Assembly: DevExpress.Xpf.Core.v24.2.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
Property Value
Type | Description |
---|---|
ToggleSwitchContentPlacement | A ToggleSwitchContentPlacement enumeration value. |
Available values:
Name | Description |
---|---|
Near | The content is displayed at the near side of the toggle switch. |
Far | The content is displayed at the far side of the toggle switch. |
Both | Both types of content are displayed at the opposite sides of the toggle switch. |
Inside | The content is displayed inside the toggle switch. |
Remarks
Use the ContentPlacement property to specify the required content position. The image belows demonstrates the available options.
See Also