Back to Devexpress

IRule Interface

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

latest2.1 KB
Original Source

IRule Interface

Declares members implemented by Validation Rules.

Namespace : DevExpress.Persistent.Validation

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

NuGet Package : DevExpress.Persistent.Base

Declaration

csharp
public interface IRule
vb
Public Interface IRule

The following members return IRule objects:

Remarks

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

IRule Members

Validation Rules

DevExpress.Persistent.Validation Namespace