IModelValidationRules Interface

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

Namespace: DevExpress.ExpressApp.Validation

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

Declaration

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

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