Xceed Grid for WinForms v4.3 Documentation
StrictValidation Property


Xceed.Editors.v2.6 Assembly > Xceed.Editors Namespace > TextBoxArea Class : StrictValidation Property
Gets or sets a boolean value indicating whether the textbox's content should be validated while it is being entered.
Syntax
'Declaration
 
<DescriptionAttribute("Indicates whether the textbox's content should be validated against the Mask while it is being entered.")>
<CategoryAttribute("Behavior")>
<DefaultValueAttribute(True)>
Public Property StrictValidation As Boolean
'Usage
 
Dim instance As TextBoxArea
Dim value As Boolean
 
instance.StrictValidation = value
 
value = instance.StrictValidation
[Description("Indicates whether the textbox's content should be validated against the Mask while it is being entered.")]
[Category("Behavior")]
[DefaultValue(true)]
public bool StrictValidation {get; set;}

Property Value

true if the textbox's content should be validated against the Mask while it is being entered; false otherwise.
Remarks

Setting the StrictValidation property to true only determines if the text is validated against the Mask or not. To provide additional validation, for example, validating against minmum and maximum values, the ValidatingText event must be used.

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

TextBoxArea Class
TextBoxArea Members