GrapeCity MultiRow Windows Forms Documentation
RejectInputOnFirstFailure Property


Gets or sets a value that indicates whether the parsing of user input should stop after the first invalid character is reached.
Syntax
<DefaultValueAttribute()>
<SRDescriptionAttribute("If true, the input text is rejected whenever a character fails to comply with the mask; otherwise, characters in the text are processed one by one as individual inputs.")>
<SRCategoryAttribute("Behavior")>
Public Property RejectInputOnFirstFailure As Boolean
Dim instance As MaskedTextBoxCell
Dim value As Boolean
 
instance.RejectInputOnFirstFailure = value
 
value = instance.RejectInputOnFirstFailure
[DefaultValue()]
[SRDescription("If true, the input text is rejected whenever a character fails to comply with the mask; otherwise, characters in the text are processed one by one as individual inputs.")]
[SRCategory("Behavior")]
public bool RejectInputOnFirstFailure {get; set;}

Property Value

true if processing of the input string should be terminated at the first parsing error; otherwise, false if processing should ignore all errors. The default is false.
Remarks
Refer to MaskedTextBox.RejectInputOnFirstFailure in MSDN.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

MaskedTextBoxCell Class
MaskedTextBoxCell Members

 

 


Copyright © GrapeCity, inc. All rights reserved.