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¶
| Name | Summary |
|---|---|
| .ctor |
Properties¶
| Name | Summary |
|---|---|
| OffContent | Gets or sets provides the object content that should be displayed when this [ToggleSwitch](# has state of "Off". |
| OnContent | Gets or sets provides the object content that should be displayed when this [ToggleSwitch](# has state of "On". |
Fields¶
| Name | Summary |
|---|---|
| static OffContentProperty | Property for [OffContent](# |
| static OnContentProperty | Property for [OnContent](# |