Class InputLabel
InputLabel UI element.
Implements
Inherited Members
Namespace: Unity.AppUI.UI
Assembly: solution.dll
Syntax
public class InputLabel : VisualElement, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle
Constructors
| Name | Description |
|---|---|
| InputLabel() | Default constructor. |
| InputLabel(string) | Constructor. |
Fields
| Name | Description |
|---|---|
| containerUssClassName | The InputLabel container styling class. |
| fieldLabelUssClassName | The InputLabel field-label styling class. |
| helpTextUssClassName | The InputLabel help text styling class. |
| inputAlignmentUssClassName | The InputLabel input alignment styling class. |
| inputContainerUssClassName | The InputLabel input container styling class. |
| labelContainerUssClassName | The InputLabel label container styling class. |
| orientationUssClassName | The InputLabel direction styling class. |
| sizeUssClassName | The InputLabel size styling class. |
| ussClassName | The InputLabel main styling class. |
| withHelpTextUssClassName | The InputLabel with help text styling class. |
Properties
| Name | Description |
|---|---|
| contentContainer | The content container. |
| direction | The orientation of the label. |
| helpMessage | The error message to display. |
| helpVariant | The variant of the HelpText. |
| indicatorType | The requirement indicator to display. |
| inputAlignment | The alignment of the input. |
| label | The label value. |
| labelOverflow | The text overflow mode. |
| required | Whether the input is required or not in the form. This will add an asterisk next to the label. |
| requiredText | The requirement indicator to display. |