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.
On the Design tab, from the Data capture list, drag Text area onto the work area.If you are using a cell-based layout and you drag the control into a cell that is not empty, then the dropped control replaces the current contents of the cell.
Click the View properties icon to display the Properties panel and complete the following tabs:
The UI Gallery landing page contains a working example of this element. To display the gallery, in Dev Studio, click.
Use these Windows operations to speed development:
- 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.
- Text area control - General tab
A text area is an area in which the user types or pastes one or multiple lines of text, without formatting the text. You can complete the General tab while adding a Text area control.
- Text area control - Presentation tab
A text area is an area in which the user types or pastes one or multiple lines of text, without formatting the text. You can complete the Presentation tab while adding a Text area control.