MobileForms Toolkit Documentation

MaskedTextBox.ResetOnSpace Property

Gets or sets a value that determines how a space input character should be handled.

public bool ResetOnSpace {get; set;}

Property Value

true if the space input character causes the current editable position in the mask to be reset; otherwise, false to indicate that it is to be processed as a normal input character. The default is false.

Remarks

The MaskedTextBox can treat two categories of characters—spaces and prompt characters—specially. Typically, each input character will be tested against the mask and either accepted or rejected. Setting the ResetOnSpace property to true will result in the current mask character position to be cleared and the current position to be advanced to the next editable character.

See Also

MaskedTextBox Class | Resco.Controls.MaskedTextBox Namespace