Skip to main content
A newer version of this page is available. .

ToggleSwitchEditSettings.ContentPlacement Property

Gets or sets the position of the content area within an in-place ToggleSwitchEdit. This is a dependency property.

Namespace: DevExpress.Xpf.Editors.Settings

Assembly: DevExpress.Xpf.Core.v19.2.dll

Declaration

public ToggleSwitchContentPlacement ContentPlacement { get; set; }

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.

ToggleSwitch ContentPosition

See Also