CustomTextMaskInputArgs Properties
Exposes an API that allows you to create custom masks.
Name | Description |
---|---|
Action |
Returns the action a user has performed: entered one or multiple characters (Insert), erased characters (Backspace or Delete), clicked a spin button (Spin |
Current |
Returns the zero-based cursor position. To obtain text blocks before and after this position, use the Current |
Current |
Returns the current editor text. This property is different from Result |
Current |
Returns the current editor text that precedes the cursor position or selected text. |
Current |
Returns the currently selected editor text. To obtain the zero-based position of the first and last characters of a selection, use the Current |
Current |
Returns a value of either the Current |
Current |
Returns the zero-based index of the right-most character of the current selection. |
Current |
Returns the zero-based index of the left-most character of the current selection. |
Current |
Returns the current editor text that follows the cursor position or selected text. |
Inserted |
Returns the text string a user attempts to add to this editor. If a user tries to erase text, this property returns String. |
Is |
Returns whether an editor dicards a user action. Editors discard user actions that lead to no changes (for example, a user selects a character and types the same character, or presses Backspace when no characters behind a caret are present). |
Is |
Returns whether a portion of the current editor text is selected (the Current |
Result |
Returns the final position of a caret (cursor) if a user edit is accepted. The current caret position (before a user edit) is stored in the Current |
Result |
Returns the final editor text if user edits are accepted. The current editor text (before a user edit) is stored in the Current |
Result |
Returns the selection anchor if user edits are accepted. |
Tag |
See Also