Button Class
Namespace: GHIElectronics.TinyCLR.UI.Controls · Assembly: GHIElectronics.TinyCLR.UI
No description available.
public class Button : ContentControl, IDisposable
Constructors
Button()
public Button()
No description available.
Properties
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)
IsPressed
public bool IsPressed { get; }
No description available.
Methods
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. |
OnButtonDown(ButtonEventArgs e)
protected override void OnButtonDown(ButtonEventArgs e)
An event reporting a button was pressed. (inherited)
| Parameter | Type | Description |
|---|---|---|
e | ButtonEventArgs |
OnButtonUp(ButtonEventArgs e)
protected override void OnButtonUp(ButtonEventArgs e)
An event reporting a button was released. (inherited)
| Parameter | Type | Description |
|---|---|---|
e | ButtonEventArgs |
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 |
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)