Class DisplaySwitch
Represents a control to edit a boolean value.
public class DisplaySwitch : UserControl, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IComponentConnector
- Inheritance
-
DisplaySwitch
- Implements
- Inherited Members
Constructors
DisplaySwitch()
Initializes a new instance of the DisplaySwitch class.
public DisplaySwitch()
Fields
IsOnProperty
Identifies the IsOn dependency property.
public static readonly DependencyProperty IsOnProperty
Field Value
TextProperty
Identifies the Text dependency property.
public static readonly DependencyProperty TextProperty
Field Value
Properties
IsOn
Gets or sets a value indicating whether the switch is on.
public bool IsOn { get; set; }
Property Value
Text
Gets or sets the text.
public string Text { get; set; }
Property Value
Methods
InitializeComponent()
InitializeComponent
public void InitializeComponent()