# GraffitiFieldLabel
Class Inherits GraffitiWebUIControl
## About
GraffitiFieldLabel is a TextField parent designed to make your forms both easier to manage and look great! With a wide array of features, you can accomplish many things that would take hundreds or thousands of hours to code and implement yourself!
## Compatibility
### Framework API Version
| 1.0 | 2.0 |
| :---: | :---: |
| True | True |
### Web
| 32-Bit | 64-Bit |
| :---: | :---: |
| True | True |
## Enumerations
| Name | Value | Description |
| --- | :---: | --- |
| Alignments | Left <br> Center <br> Right | Supported text alignments. |
| Positions | Left <br> Right | Supported positions relative to control. |
| States | Unvalidated <br> Valid <br> Invalid | Supported validation states. |
## Event Definitions
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| LabelPressed | (None) | (None) | Raised when the user presses the label segment. |
| Open | (None) | (None) | |
| Shown | (None) | (None) | |
## Properties
| Name | Type | Default Value | Description |
| --- | :---: | :---: | --- |
| Child | WebUIControl | Nil | The control that is contained within the component's field portion. |
| Enabled | Boolean | Nil | |
| FieldStyle | GraffitiStyle | Nil | GraffitiStyle applies to the field portion of the component. |
| FieldVisible | Boolean | Nil | Controls the visibility of the field portion of the control. |
| IconHeight | Integer | Nil | Height of the IconObject in the label area. |
| IconObject | Picture | Nil | Custom icon to be drawn in the label area. |
| IconWidth | Integer | Nil | Width of the IconObject in the label area. |
| Label | String | Nil | Text to display as the label. |
| LabelAlignment | Alignments | Nil | Alignment of the Label string within the label area. |
| LabelPosition | Positions | Nil | Position relative to the Child field. |
| LabelStyle | GraffitiStyle | Nil | GraffitiStyle applied to the label portion of the component. |
| LabelVisible | Boolean | Nil | Determines the visibility of the label portion of the component. |
| LabelWidth | Integer | Nil | Static width of the label. Use -1 for automatic sizing. |