Skip to main content

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

public static class Validator

Remarks

Use the Validator‘s GetService(IServiceProvider) method to get a RuleSet object. This object contains validation rules declared in the application. The methods of this object allow you to trigger validation programmatically. For additional information and an example, refer to the following topic: Trigger Validation Programmatically and Customize Default Rule Behavior.

Inheritance

Object
Validator
See Also