wpf-devexpress-dot-xpf-dot-editors-dot-toggleswitchedit-32d98289.md
Gets or sets the position of the content area within the ToggleSwitchEdit control. This is a dependency property.
Namespace : DevExpress.Xpf.Editors
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public ToggleSwitchContentPlacement ContentPlacement { get; set; }
Public Property ContentPlacement As ToggleSwitchContentPlacement
| 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.
|
Use the ContentPlacement property to specify the required content position. The image belows demonstrates the available options.
See Also