Click or drag to resize

ModernSwitch Class

A Windows 8 style Switch control. It can replace CheckBox in some conditions.
Inheritance Hierarchy

Namespace:  Hummingbird.UI
Assembly:  Hummingbird.UI (in Hummingbird.UI.dll) Version: 1.1.0.0
Syntax
public class ModernSwitch : ContentControl

The ModernSwitch type exposes the following members.

Constructors
  NameDescription
Public methodModernSwitch
Initializes a new instance of the ModernSwitch class
Top
Properties
  NameDescription
Public propertyCheckedText
Text to show when the ModernSwitch is checked.
Public propertyIsChecked
Gets or Sets if the switch is checked.
Public propertyUnCheckedText
Text to show when the ModernSwitch is unchecked.
Top
Events
  NameDescription
Public eventIsCheckedChanged
An event handler invokes when the value of IsChecked property changes
Top
Fields
  NameDescription
Public fieldStatic memberCheckedTextProperty
The checked text property
Public fieldStatic memberIsCheckedProperty
The is checked property
Public fieldStatic memberUnCheckedTextProperty
The un checked text property
Top
See Also