Label
The Label control displays a text label. It can be used to label other controls and define shortcut keys.
Property | Access | Type | Method | Description |
---|---|---|---|---|
Text | Design-only | string | — | The current value of the text displayed |
TextAlign | Design-only | ContentAlignment | — | Sets the position of the text within the control rectangle |
AutoSize | Design-only | bool | — | The label is resized automatically to fit its current value |
UseMenumonic | Design-only | bool | — | When true, the first character preceded by a ampersand (&) will be used as a shortcut. Pressing Alt + Shortcut should select the next control in the tab-order |
This control also supports all the common control properties.