Skip to main content
.NET Framework 4.6.2+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 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

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

The following members return IModelValidationRules objects:

#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