Back to Devexpress

Validator Class

expressappframework-devexpress-dot-persistent-dot-validation-bb191245.md

latest2.0 KB
Original Source

Validator Class

Provides access to the Validation Rules declared in an XAF application.

Namespace : DevExpress.Persistent.Validation

Assembly : DevExpress.Persistent.Base.v25.2.dll

NuGet Package : DevExpress.Persistent.Base

Declaration

csharp
public static class Validator
vb
Public Module Validator

Remarks

The Validator class exposes a single DevExpress.Persistent.Validation.Validator.RuleSet public property. This property returns a RuleSet object representing all the Validation Rules declared in an application. This object’s methods allow you to trigger validation programmatically. To learn how to do this, refer to the following topic: Trigger Validation Programmatically and Customize Default Rule Behavior.

Inheritance

Object Validator

See Also

Validator Members

How to use a Validation module to highlight invalid properties of the business object, when its View is shown

ModificationsController.ModificationsHandlingMode

DevExpress.Persistent.Validation Namespace