Click or drag to resize

RadioButton Class

Control to present a button to choose from a set of options
Inheritance Hierarchy

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public class RadioButton : TextControl

The RadioButton type exposes the following members.

Constructors
  NameDescription
Public methodRadioButton
Initializes a new instance of the RadioButton class.
Public methodRadioButton(RadioButton)
Initializes a new instance of the RadioButton class.
Top
Properties
  NameDescription
Public propertyChecked
Gets or sets a value indicating whether this RadioButton is checked.
Public propertyCommand
Gets or sets the command to invoke when the radio button is pressed.
Public propertyCommandParameter
Gets or sets the parameter to pass to the Command when executing or determining its CanExecute state.
Top
Methods
  NameDescription
Protected methodGetCallback
Gets an instance of an object used to perform callbacks to the widget from handler implementations
(Overrides TextControlGetCallback.)
Protected methodOnCheckedChanged
Raises the CheckedChanged event.
Protected methodOnClick
Raises the Click event.
Top
Events
  NameDescription
Public eventCheckedChanged
Occurs when the Checked property is changed.
Public eventClick
Occurs when the user clicks the radio button.
Top
Remarks
The RadioButton works with other radio buttons to present a list of options that the user can select from. When a radio button is toggled on, all others that are linked together will be toggled off. To link radio buttons together, use the [C:Eto.Forms.RadioButton(RadioButton)] constructor to specify the controller radio button, which can be created with the default constructor.
See Also