Class Radio
Definition
- Namespace:
- ElmSharp
- Assembly:
- ElmSharp.dll
The Radio is a widget that allows for 1 or more options to be displayed, and have the user choose only 1 of them.
[Obsolete("This has been deprecated in API12")]
public class Radio : Layout, IAccessibleObject
- Inheritance
- Implements
Constructors
View SourceRadio(EvasObject)
Creates and initializes a new instance of the Radio class.
Declaration
[Obsolete("This has been deprecated in API12")]
public Radio(EvasObject parent)
Parameters
Type | Name | Description |
---|---|---|
EvasObject | parent | The EvasObject to which the new Radio will be attached as a child. |
Properties
View SourceGroupValue
Sets or gets the value of the radio group.
Declaration
[Obsolete("This has been deprecated in API12")]
public int GroupValue { get; set; }
Property Value
Type | Description |
---|---|
int |
StateValue
Sets or gets a unique value to each radio button.
Declaration
[Obsolete("This has been deprecated in API12")]
public int StateValue { get; set; }
Property Value
Type | Description |
---|---|
int |
Methods
View SourceCreateHandle(EvasObject)
Creates a widget handle.
Declaration
[Obsolete("This has been deprecated in API12")]
protected override IntPtr CreateHandle(EvasObject parent)
Parameters
Type | Name | Description |
---|---|---|
EvasObject | parent | Parent EvasObject. |
Returns
Type | Description |
---|---|
System.IntPtr | Handle IntPtr. |
Overrides
View SourceSetGroup(Radio)
Adds this radio to a group of other radio objects.
Declaration
[Obsolete("This has been deprecated in API12")]
public void SetGroup(Radio group)
Parameters
Type | Name | Description |
---|---|---|
Radio | group | Group which add radio in. |
Events
View SourceValueChanged
ValueChanged will be triggered when value of the radio changes.
Declaration
[Obsolete("This has been deprecated in API12")]
public event EventHandler ValueChanged
Event Type
Type | Description |
---|---|
System.EventHandler |