Gets or sets a value that determines how an input character that matches the prompt character should be handled.
Documentation for this section has not yet been entered.
System.ComponentModel.MaskedTextProvider can treat two categories of characters, paces and prompt characters, in a special manner. Normally, each input character will be tested against the mask and either accepted or rejected. Operating on the assumption that the MaskedTextProvider.PromptChar property is set to a value other than null, then setting the MaskedTextProvider.ResetOnPrompt property to true will result in special processing for the prompt character. When a prompt character is added, it causes the current mask character position to be cleared and the current position to be advanced to the next editable character.
MaskedTextProvider.ResetOnPrompt takes precedence over the MaskedTextProvider.AllowPromptAsInput property as described in the following table.
true |
true |
The prompt character can be added and it causes the current mask position to be reset. The default. |
true |
false |
The prompt character can be added and it causes the current mask position to be reset. |
false |
true |
The prompt character is processed as a normal input character. |
false |
false |
The prompt character is not valid and methods attempting to add the character will fail. |