Class RadioButton
A check box in a radio set: ticking one unticks the others in its set.
public class RadioButton : CheckBox, IUpdateable, IEquatable<IUpdateable>, IDrawable, IIdentifiable<Guid>, IEquatable<IDrawable>, IDisposable
- Inheritance
-
RadioButton
- Implements
- Inherited Members
Constructors
RadioButton(ILogger, View, string)
Creates a radio button in view.
public RadioButton(ILogger logger, View view, string controlId)
Parameters
Properties
CheckedRegion
The name of the picture region drawn for a ticked box. RadioButton overrides it.
protected override string CheckedRegion { get; }
Property Value
UncheckedRegion
The name of the picture region drawn for an unticked box. RadioButton overrides it.
protected override string UncheckedRegion { get; }
Property Value
Methods
OnClicked()
Called when the box is clicked, or Space is pressed while it has focus. Toggles Checked.
protected override void OnClicked()