Represents a field for entering text.
Inherits: ValuedControl : Control : UIElement : UIElementBaseName | Type | Description |
---|---|---|
Multiline | Boolean | Multi-line item. |
AutoSize | Boolean | Automatically set item height based on content. For multiline elements only. |
Rows | Int32? | Number of lines. For multiline items only. |
Align | TextAlign | Text alignment |
Password | Boolean | Password input field. Placeholders are displayed instead of text. Copying text from the field is not possible. |
Number | Boolean | Only numbers and a minus sign ('-') are allowed in the field. |
Placeholder | String | Prompt. Displayed in an empty input field. Disappears when the input focus is received by the field. |
SpellCheck | Boolean? | Whether to check for spelling errors. By default - depends on browser settings. |
UpdateTrigger | UpdateTrigger | The way to update the data model value associated with this item. |
EnterCommand | BindCmd | The command that will be executed upon pressing Enter (for a multi-line field - Ctrl+Enter). |
MaxHeight | Length |
The maximum height of the item. Matters only for multi-line items that have the AutoSize property set.
|
Size | ControlSize |
Item size. Possible values:
ControlSize enumeration values are not supported).
|
ShowClear | Boolean | Show content clear button. Clicking this button clears the associated model value. If the value is empty, the button will be disabled. |
Accel | Accel | Accelerator (hot key). When you press this key, the focus will be set on that item. |
Base item properties |
XAML
Result