CheckButton - SirePi/duality-ui GitHub Wiki

A CheckButton is a button that, when clicked, toggles the presence of a specific glyph, used to indicate if the checkbutton is Checked or (not)Checked. Derives from Button.

note: its behavior is is basically the same as the ToggleButton, but it covers a slightly different niche in the UI world.

In addition to the Button's base properties and delegates, it also exposes:

  • Property Checked - indicates if the CheckButton is currently in its Checked status or not.
  • Property GlyphConfiguration - the CheckButton's GlyphConfiguration object.
  • Delegate OnCheckedChange(CheckButton checkButton, bool previousValue, bool newValue) - an event that gets fired whenever the CheckButton's Checked property changes; i.e. going from true to true will not fire the event.