Dropdown Class
Namespace: GHIElectronics.TinyCLR.UI.Controls · Assembly: GHIElectronics.TinyCLR.UI
No description available.
public class Dropdown : ListBox, IDisposable
Constructors
Dropdown()
public Dropdown() : base()
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)
MaxOpenHeight
public int MaxOpenHeight { get; set; }
Optional cap on the expanded list height. When set to a positive value the open dropdown is clamped to this height and overflow scrolls through the inherited ScrollViewer. Default 0 = no clamp (legacy behavior).
Options
public ArrayList Options { get; set; }
No description available.
Methods
OnButtonDown(ButtonEventArgs e)
protected override void OnButtonDown(ButtonEventArgs e)
Hardware button support: HardwareButton.Select toggles the dropdown open/closed (parity with touch). HardwareButton.Back closes an open dropdown. Up/Down navigation comes free from ListBox.
| 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. |