Skip to main content

Dropdown Class

Namespace: GHIElectronics.TinyCLR.UI.Controls · Assembly: GHIElectronics.TinyCLR.UI

No description available.

public class Dropdown : ListBox, IDisposable

Constructors

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.

ParameterTypeDescription
eButtonEventArgs

OnRender(DrawingContext dc)

public override void OnRender(DrawingContext dc)

Renders the DataGrid onto it's parent container's graphics. (inherited)

ParameterTypeDescription
dcDrawingContext

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)

ParameterTypeDescription
disposingboolNot used.