RadioButton Class
Namespace: GHIElectronics.TinyCLR.UI.Controls · Assembly: GHIElectronics.TinyCLR.UI
No description available.
public class RadioButton : ContentControl, IDisposable
Constructors
RadioButton()
public RadioButton() : this(string.Empty)
No description available.
RadioButton(string groupName)
public RadioButton(string groupName) : base()
No description available.
| Parameter | Type | Description |
|---|---|---|
groupName | string |
Properties
Name
public string Name { get; set; }
The native API name. (inherited)
Alpha
public ushort Alpha { get; set; }
No description available.
RadiusBorder
public int RadiusBorder { get; set; }
Corner radius in pixels for the Scale9Image-rendered bar. (inherited)
ShowBackground
public bool ShowBackground { get; set; }
No description available.
Value
public string Value { get; set; }
Current needle position. Only this property doesn't dirty the background — the pointer is repainted every frame. (inherited)
Checked
public bool Checked { get; set; }
No description available.
GroupName
public string GroupName { get; set; }
No description available.
OutlineUnselectColor
public GHIElectronics.TinyCLR.UI.Media.Color OutlineUnselectColor { get; set; }
No description available.
SelectedOutlineColor
public GHIElectronics.TinyCLR.UI.Media.Color SelectedOutlineColor { get; set; }
No description available.
SelectedColor
public GHIElectronics.TinyCLR.UI.Media.Color SelectedColor { get; set; }
No description available.
Methods
OnRender(DrawingContext dc)
public override void OnRender(DrawingContext dc)
Renders the DataGrid onto it's parent container's graphics. (inherited)
| Parameter | Type | Description |
|---|---|---|
dc | DrawingContext |
OnTouchUp(TouchEventArgs e)
protected override void OnTouchUp(TouchEventArgs e)
Handles the touch up event. (inherited)
| Parameter | Type | Description |
|---|---|---|
e | TouchEventArgs | Touch event arguments. |
OnTouchDown(TouchEventArgs e)
protected override void OnTouchDown(TouchEventArgs e)
Handles the touch down event. (inherited)
| Parameter | Type | Description |
|---|---|---|
e | TouchEventArgs | Touch event arguments. |
OnButtonUp(ButtonEventArgs e)
protected override void OnButtonUp(ButtonEventArgs e)
An event reporting a button was released. (inherited)
| Parameter | Type | Description |
|---|---|---|
e | ButtonEventArgs |
Toggle()
public void Toggle()
Inverts the pin's current output level. Equivalent to reading the current state and writing its opposite. (inherited)
Dispose()
public void Dispose()
Releases buffered memory (the unmanaged firmware/application buffers). (inherited)
Dispose(bool disposing)
protected virtual void Dispose(bool disposing)
Closes a response stream, if present. (inherited)
| Parameter | Type | Description |
|---|---|---|
disposing | bool | Not used. |
Events
Click
public event RoutedEventHandler Click
Fires when the user commits the current selection — either by tapping a ListBoxItem or by pressing HardwareButton.Select while the ListBox has focus. The event source is the committed ListBoxItem. (inherited)