Skip to main content
.NET 8.0+

IModelValidationRules Interface

The Rules node defines all the Rules that are applied in an application.

Namespace: DevExpress.ExpressApp.Validation

Assembly: DevExpress.ExpressApp.Validation.v24.2.dll

Declaration

[ModelNodesGenerator(typeof(ModelValidationRulesNodeGenerator))]
public interface IModelValidationRules :
    IModelNode,
    IModelList<IModelRuleBase>,
    IList<IModelRuleBase>,
    ICollection<IModelRuleBase>,
    IEnumerable<IModelRuleBase>,
    IEnumerable

Remarks

By default, the Rules node contains several Rules. You can add other Rules (both supplied Rule types and your own) using the context menu of this node.

This interface is a part of the Application Model infrastructure. You do not need to implement this interface in most cases.

The IModelValidationRules node represents a list of the IModelRuleBase nodes.

To customize the default content of this node, implement a Generator Updater for the ModelValidationRulesNodeGenerator Nodes Generator.

See Also