NullIsValid Property (CompareValueBaseValidator)
Gets or sets whether the validation always succeeds when the specified value is a null reference (Nothing in Visual Basic).
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.