Back to Devexpress

ToggleSwitchEdit.ContentPlacement Property

wpf-devexpress-dot-xpf-dot-editors-dot-toggleswitchedit-32d98289.md

latest1.9 KB
Original Source

ToggleSwitchEdit.ContentPlacement Property

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

Declaration

csharp
public ToggleSwitchContentPlacement ContentPlacement { get; set; }
vb
Public Property ContentPlacement As ToggleSwitchContentPlacement

Property Value

TypeDescription
ToggleSwitchContentPlacement

A ToggleSwitchContentPlacement enumeration value.

|

Available values:

NameDescription
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

ToggleSwitchEdit Class

ToggleSwitchEdit Members

DevExpress.Xpf.Editors Namespace