Skip to content

ToggleSwitch class

Attributes: [ToolboxItem(true)] [ToolboxBitmap]

Defined in

Namespace: CrissCross.WPF.UI.Controls Assembly: CrissCross.WPF.UI.dll Full name: CrissCross.WPF.UI.Controls.ToggleSwitch Modifiers: public

Summary

Use ToggleSwitch to present users with two mutally exclusive options (like on/off).

Applies to

net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481

Class hierarchy
classDiagram
class ToggleSwitch
class ToggleButton
ToggleButton <|-- ToggleSwitch

Inherits from: ToggleButton

Constructors

NameSummary
.ctor

Properties

NameSummary
OffContentGets or sets provides the object content that should be displayed when this [ToggleSwitch](# has state of "Off".
OnContentGets or sets provides the object content that should be displayed when this [ToggleSwitch](# has state of "On".

Fields

NameSummary
static OffContentPropertyProperty for [OffContent](#
static OnContentPropertyProperty for [OnContent](#
Inherited members