ToggleSwitch
enables the user to turn something on or off. It is much like the built-in CheckBox
control, yet more compatible with the modern UI design aesthetic of the phone. ToggleSwitch
presents a large, touch friendly switch that users can alternate between two states (see Figure 9.23).
While ToggleSwitch
does not inherit from any built-in button related controls, such as ButtonBase
, but rather from ContentControl
, it behaves much like the built-in ToggleButton
control in the FCL of which the built-in RadioButton
and CheckBox
controls are derived. In fact, internally the ToggleSwitch
uses a ToggleButton
to provide its functionality.
3.137.214.194