Spread WinForms 15
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / RegularExpressionValidator Class / NullIsValid Property


In This Topic
NullIsValid Property (RegularExpressionValidator)
In This Topic
Gets or sets whether the validation is always successful when the specified value is a null reference (Nothing in Visual Basic).
Syntax
'Declaration
 
Public Property NullIsValid As Boolean
 
'Usage
 
Dim instance As RegularExpressionValidator
Dim value As Boolean
 
instance.NullIsValid = value
 
value = instance.NullIsValid

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.
See Also