GrapeCity MultiRow Windows Forms Documentation
NullIsValid Property (RegularExpressionValidator)


Gets or sets a value that indicates whether the validation is always successful when the specified value is a null reference (Nothing in Visual Basic).
Syntax
<DefaultValueAttribute()>
<SRDescriptionAttribute("Indicates whether the validation always succeeds when the cell value is null.")>
Public Property NullIsValid As Boolean
Dim instance As RegularExpressionValidator
Dim value As Boolean
 
instance.NullIsValid = value
 
value = instance.NullIsValid
[DefaultValue()]
[SRDescription("Indicates whether the validation always succeeds when the cell value is null.")]
public bool NullIsValid {get; set;}

Property Value

true if the validation is always successful when the specified value is a null reference (Nothing in Visual Basic); otherwise, false. The default is true.
Remarks
If the cell value is a null reference (Nothing in Visual Basic), you can determine whether the validation always succeeds.
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

RegularExpressionValidator Class
RegularExpressionValidator Members

 

 


Copyright © GrapeCity, inc. All rights reserved.