Adding a Text area control
A text area is an area in which the user types or pastes one or multiple lines of text, without formatting the text.
If formatting is required, use a Rich Text Editor control instead. If the text content is only a few words, use a Text input control instead of the Text area or Rich text editor controls.
A cell in a layout can present the value of a property as display-only or as an input field using the Text area control, pxTextArea. You can configure a text area control, specifying the width, height, and maximum number of characters that users can enter into the text area. You can also display placeholder text and/or tooltips at runtime and configure actions based on events.
The UI Gallery landing page contains a working example of this element. To display the gallery, in Dev Studio, click .
- To move a cell containing a Text area, select the cell and drag and drop it in another cell in the same layout or another layout.
- To cut, copy, or paste a Text area in a cell, right-click in the cell to access a context-menu.