Skip to main content

Control Class

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

No description available.

public class Control : UIElement

Properties

TabIndex

public int TabIndex { get; set; }

Lower values are visited first by Input.FocusNavigator.

IsTabStop

public bool IsTabStop { get; set; }

When false, this control is skipped for keyboard focus navigation.

ShowFocusVisual

public bool ShowFocusVisual { get; set; }

When true and the control has focus, a focus rectangle is drawn.

DataContext

public object DataContext { get; set; }

Optional data context for lightweight binding (e.g. TextBox.SetTextBinding).

Background

public Media.Brush Background { get; set; }

No description available.

Font

public System.Drawing.Font Font { get; set; }

Font used by the text. (inherited)

Foreground

public Media.Brush Foreground { 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

SolidColorBrush( Colors.Black)

protected internal Media.Brush _foreground = new SolidColorBrush(Colors.Black)

No description available.

ParameterTypeDescription
Colors.Black``

Returns Media.Brush _foreground = new

Fields

_background

protected internal Media.Brush _background

No description available.

_font

protected internal System.Drawing.Font _font

No description available.