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.v20.1.dll

Declaration

public object CheckedStateContent { get; set; }
Public Property CheckedStateContent As Object

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