Class CheckBox
Shows a check box that can be cycled between two or three states.
public class CheckBox : View, IDisposable, ISupportInitializeNotification, ISupportInitialize
- Inheritance
-
CheckBox
- Implements
- Inherited Members
Constructors
- CheckBox()
Initializes a new instance of CheckBox.
Properties
- AllowCheckStateNone
If true allows CheckedState to be None. The default is false.
- CheckedState
The state of the CheckBox.
- DefaultHighlightStyle
Gets or sets the default Highlight Style.
- HotKeySpecifier
Gets or sets the specifier character for the hot key (e.g. '_'). Set to '\xffff' to disable automatic hot key setting support for this View instance. The default is '\xffff'.
Methods
- AdvanceCheckState()
Advances CheckedState to the next value. Invokes the cancelable CheckedStateChanging event.
- OnCheckedStateChanged(EventArgs<CheckState>)
Called when the CheckBox state has changed.
- OnCheckedStateChanging(CancelEventArgs<CheckState>)
Called when the CheckBox state is changing.
- UpdateTextFormatterText()
Can be overridden if the Text has different format than the default.
Events
- CheckedStateChanged
Raised when the CheckBox state has changed.
- CheckedStateChanging
Raised when the CheckBox state is changing.