Class FieldLabel
A label for a field.
Implements
Inherited Members
Namespace: Unity.AppUI.UI
Assembly: solution.dll
Syntax
public class FieldLabel : VisualElement, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle
Constructors
Name | Description |
---|---|
FieldLabel() | Default constructor. |
FieldLabel(string) | Constructor. |
Fields
Name | Description |
---|---|
labelOverflowUssClassName | The FieldLabel label overflow variant styling class. |
labelUssClassName | The FieldLabel label styling class. |
requiredLabelUssClassName | The FieldLabel required label styling class. |
requiredUssClassName | The FieldLabel required variant styling class. |
ussClassName | The FieldLabel main styling class. |
Properties
Name | Description |
---|---|
indicatorType | The type of indicator to display when a field is required. |
label | The text to display in the label. |
labelOverflow | The text overflow mode. |
required | Whether the field is required. |
requiredText | The text to display next to the label when the field is required and the indicator type is Text. |