Click or drag to resize

RadioButtonList Class

Shows a list of radio buttons.
Inheritance Hierarchy

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
[ContentPropertyAttribute("Items")]
public class RadioButtonList : Panel

The RadioButtonList type exposes the following members.

Constructors
  NameDescription
Public methodRadioButtonList
Initializes a new instance of the RadioButtonList class.
Top
Properties
  NameDescription
Public propertyDataStore
Gets or sets the data store of the items shown in the list.
Public propertyEnabled
Gets or sets a value indicating whether this RadioButtonList is enabled.
(Overrides ControlEnabled.)
Public propertyItemKeyBinding
Gets or sets the binding to get the key for each radio button.
Public propertyItems
Gets the item collection, when adding items programatically.
Public propertyItemTextBinding
Gets or sets the binding to get the text for each radio button.
Public propertyItemToolTipBinding
Gets or sets the binding to get the tooltip text for each radio button.
Public propertyKeyBinding Obsolete.
Gets or sets the binding to get the key for each radio button.
Public propertyOrientation
Gets or sets the orientation of the radio buttons.
Public propertySelectedIndex
Gets or sets the index of the selected item.
Public propertySelectedIndexBinding
Gets a binding to the SelectedIndex property.
Public propertySelectedKey
Gets or sets the selected key of the currently selected item using the ItemKeyBinding.
Public propertySelectedKeyBinding
Gets a binding to the SelectedKey property.
Public propertySelectedValue
Gets or sets the selected value, which is the ListItem or object in your custom data store.
Public propertySelectedValueBinding
Gets a binding to the SelectedValue property.
Public propertySpacing
Gets or sets the spacing between each radio button.
Public propertyTextBinding Obsolete.
Gets or sets the binding to get the text for each radio button.
Public propertyTextColor
Gets or sets the color of the radio button text.
Top
Methods
Events
  NameDescription
Public eventSelectedIndexChanged
Occurs when the SelectedIndex changes.
Public eventSelectedKeyChanged
Occurs when SelectedKey changes.
Public eventSelectedValueChanged
Occurs when SelectedValue changes.
Top
Remarks
The list of items can be added manually using Items, or use the DataStore to have a dynamic list of items controlled by a custom collection.
See Also