Skip to main content
All docs
V25.1
  • .NET 8.0+

    DevExpress v25.1 Update — Your Feedback Matters

    Our What's New in v25.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

    Take the survey Not interested

    IValidator Interface

    In This Article

    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.1.dll

    #Declaration

    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: xref:<113010>.

    See Also