Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ToggleSwitchContentPlacement Enum

Lists the values that specify the position of the content area within a toggle switch editor.

Namespace: DevExpress.Xpf.Editors

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

NuGet Package: DevExpress.Wpf.Core

#Declaration

public enum ToggleSwitchContentPlacement

#Members

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.

#Related API Members

The following properties accept/return ToggleSwitchContentPlacement values:

#Remarks

The values listed by this enumeration are used to specify the position of the content area within the ToggleSwitchEdit control. The following image demonstrates different content positions.

ToggleSwitch ContentPosition

See Also