Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / RangeValidator Class / NullIsValid Property


In This Topic
    NullIsValid Property (RangeValidator)
    In This Topic
    Gets or sets a value that indicates whether the validation always succeeds when the specified value is a null reference (Nothing in Visual Basic).
    Syntax
    'Declaration
     
    
    Public Property NullIsValid As Boolean
    'Usage
     
    
    Dim instance As RangeValidator
    Dim value As Boolean
     
    instance.NullIsValid = value
     
    value = instance.NullIsValid
    public bool NullIsValid {get; set;}

    Property Value

    true if the validation always succeeds 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