Class TextArea
Text Area UI element.
Implements
Inherited Members
Namespace: Unity.AppUI.UI
Assembly: solution.dll
Syntax
public class TextArea : ExVisualElement, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, IValidatableElement<string>, INotifyValueChanging<string>, INotifyValueChanged<string>
Constructors
| Name | Description |
|---|---|
| TextArea() | Default constructor. |
| TextArea(string) | Construct a TextArea with a predefined text value.
|
Fields
| Name | Description |
|---|---|
| inputUssClassName | The TextArea input styling class. |
| placeholderUssClassName | The TextArea placeholder styling class. |
| resizeHandleUssClassName | The TextArea resize handle styling class. |
| scrollViewUssClassName | The TextArea input container styling class. |
| ussClassName | The TextArea main styling class. |
Properties
| Name | Description |
|---|---|
| autoResize | Automatically resize the TextArea if the content is larger than the current size. |
| contentContainer | The content container of the TextArea. |
| invalid | The invalid state of the TextArea. |
| placeholder | The TextArea placeholder text. |
| validateValue | The validation function for the TextArea. |
| value | The TextArea value. |
Methods
| Name | Description |
|---|---|
| SetValueWithoutNotify(string) | Set the TextArea value without notifying the change. |