Label Class
Package: GHIElectronics.Endpoint.UI
Namespace: GHIElectronics.Endpoint.UI
Static text display. For an interactive text input, use UI.TextBox.
public class Label : Widget
Constructors
Label(Widget parent)
public Label(Widget parent)
Create a label inside parent.
| Parameter | Type | Description |
|---|---|---|
parent | Widget | Containing widget. |
Properties
Color
public uint Color { get; set; }
Text color as 0x00RRGGBB. Getter returns the last value set.
Returns uint
FontSize
public int FontSize { get; set; }
Font size in pixels. Getter returns the last value set.
Returns int
Text
public string Text { get; set; }
Displayed text. null is treated as empty. Getter returns the last value set.
Returns string
TextAlignment
public TextAlignment TextAlignment { get; set; }
Horizontal alignment of the text inside the label bounds. Getter returns the last value set.
Returns TextAlignment