expressappframework-devexpress-dot-persistent-dot-validation-dot-irulebaseproperties-60d165d8.md
Specifies whether the Validation Rule is checked for the properties that are set to null, an empty string (for string type properties) or a minimal date (for DateTime type properties).
Namespace : DevExpress.Persistent.Validation
Assembly : DevExpress.Persistent.Base.v25.2.dll
NuGet Package : DevExpress.Persistent.Base
[DefaultValue(true)]
bool SkipNullOrEmptyValues { get; set; }
<DefaultValue(True)>
Property SkipNullOrEmptyValues As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | true |
true , if the Validation Rule is not checked; otherwise, false.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SkipNullOrEmptyValues property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
xaf-how-to-enforce-password-complexity-in-xaf/CS/Solution161.Module/Module.cs#L40
: base("", "ChangePassword") {
this.Properties.SkipNullOrEmptyValues = false;
}
xaf-how-to-enforce-password-complexity-in-xaf/VB/Solution161.Module/Module.vb#L43
MyBase.New("", "ChangePassword")
Properties.SkipNullOrEmptyValues = False
End Sub
See Also