Back to Devexpress

ToggleSwitch.CheckedStateContent Property

wpf-devexpress-dot-xpf-dot-editors-dot-toggleswitch.md

latest1.5 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

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

Property Value

TypeDescription
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.

See Also

ToggleSwitch Class

ToggleSwitch Members

DevExpress.Xpf.Editors Namespace