Class CheckBox
Represents a control that a user can select (check) or clear (uncheck). A CheckBox can also report its value as indeterminate.
Inheritance
System.Object
CheckBox
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: System.Windows.Controls
Assembly: OpenSilver.dll
Syntax
public class CheckBox : ToggleButton
Examples
void CheckBox_Checked(object sender, RoutedEventArgs e)
{
MessageBox.Show("You checked me.");
}
void CheckBox_Unchecked(object sender, RoutedEventArgs e)
{
MessageBox.Show("You unchecked me.");
}
Constructors
| Improve this Doc View SourceCheckBox()
Initializes a new instance of CheckBox class.
Declaration
public CheckBox()