Back to Devexpress

IValidator Interface

expressappframework-devexpress-dot-persistent-dot-validation-14a3ed25.md

latest2.0 KB
Original Source

IValidator Interface

A service that exposes API required to access 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 interface IValidator
vb
Public Interface IValidator

Remarks

The IValidator service exposes a single RuleSet public property. This property returns an object that implements the IRuleSet interface. This object contains all Validation Rules declared in an application. The RuleSet 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.

See Also

IValidator Members

IRuleSet

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