Providing a Boolean Option with the ToggleSwitch
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 ...
Get Windows® Phone 8 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.