NMaskedTextBox Class Members
In This Topic
The following tables list the members exposed by NMaskedTextBox.
Public Constructors
Public Fields
Public Properties
| Name | Description |
| Mask | Gets/Sets the input mask to use at runtime. |
| PromptChar | Gets/Sets the character used to represent the absence of user input in an NMaskedTextBox. By default set to '_'. |
Top
Public Methods
| Name | Description |
| InsertReplaceChar | Overridden. Inserts a character at the current caret position and positions the caret on the next grapheme. If there is a selected text, it is first removed. |
| InsertReplaceText | Overridden. Inserts text at the current caret position and positions the caret to the end of the inserted text. If there is a selected text, it is first removed. |
| RemoveSelectedText | Overridden. Replaces the currently selected text with the prompt chars. If there is no selection, this method does nothing and returns false. |
Top
Public Events
| Name | Description |
| MaskInputRejected | Occurs when the user's input does not match the corresponding format element of the input mask. |
Top
See Also