.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

IRule Interface

Declares members implemented by Validation Rules.

Namespace: DevExpress.Persistent.Validation

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


public interface IRule
Public Interface IRule


When implementing a custom Validation Rule, it is generally easier to inherit from the RuleBase class instead of implementing the IRule interface. To see an example of implementing a custom Validation Rule, refer to the Implement Custom Rules topic.

See Also