MobileForms Toolkit Documentation

MaskedTextProvider.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

MaskedTextProvider can treat two categories of characters, spaces and prompt characters, in a special manner. Normally, 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 being cleared and the current position being advanced to the next editable character.

See Also

MaskedTextProvider Class | Resco.Controls.MaskedTextBox Namespace