Skip to main content

ToggleSwitch.CheckedStateContent Property

Gets or sets the content that is displayed when the toggle switch is in the checked state. This is a dependency property.

Namespace: DevExpress.Xpf.Editors

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

NuGet Package: DevExpress.Wpf.Core

Declaration

public object CheckedStateContent { get; set; }

Property Value

Type Description
Object

An object that is the content of the toggle switch.

Remarks

Use the CheckedStateContent property to specify the content that is displayed by the toggle switch in the checked state.

To specify the required content position, use the ToggleSwitch.ContentPlacement property.

ToggleSwitchEdit visual elements

See Also