Skip to main content

CheckBox Class

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

No description available.

public class CheckBox : ContentControl, IDisposable

Constructors

CheckBox()

public CheckBox() : base()

No description available.

Properties

Name

public string Name { get; set; }

The native API name. (inherited)

Alpha

public ushort Alpha { get; set; }

No description available.

RadiusBorder

public ushort RadiusBorder { get; set; }

Corner radius in pixels for the Scale9Image-rendered bar. (inherited)

IsChecked

public bool IsChecked { 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)

ParameterTypeDescription
dcDrawingContext

OnTouchUp(TouchEventArgs e)

protected override void OnTouchUp(TouchEventArgs e)

Handles the touch up event. (inherited)

ParameterTypeDescription
eTouchEventArgsTouch event arguments.

OnTouchDown(TouchEventArgs e)

protected override void OnTouchDown(TouchEventArgs e)

Handles the touch down event. (inherited)

ParameterTypeDescription
eTouchEventArgsTouch event arguments.

OnButtonUp(ButtonEventArgs e)

protected override void OnButtonUp(ButtonEventArgs e)

An event reporting a button was released. (inherited)

ParameterTypeDescription
eButtonEventArgs

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.

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)

Checked

public event RoutedEventHandler Checked

No description available.

Unchecked

public event RoutedEventHandler Unchecked

No description available.