Fig. 1 - Label control
A simple text label.
Properties that are common to this and many other controls are described in Common Properties.
Property | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Background | See Common Properties | ||||||||||
FontFamily | See Common Properties | ||||||||||
FontSize | See Common Properties | ||||||||||
FontStyle | See Common Properties | ||||||||||
FontWeight | See Common Properties | ||||||||||
Foreground | See Common Properties | ||||||||||
Height | See Common Properties | ||||||||||
IsEnabled | Ignored in this control | ||||||||||
Language | Ignored in this control | ||||||||||
Margin | See Common Properties | ||||||||||
Name | See Common Properties | ||||||||||
Text | The text of the label | ||||||||||
TextAlignment | Options are:
|
||||||||||
TextWrapping | Whether text wraps when it reaches the edge of the containing box. Options are:
|
||||||||||
Visibility | See Common Properties | ||||||||||
Width | See Common Properties |