IModelValidationContexts Interface

The Contexts node defines the validation contexts used in the application.

Namespace: DevExpress.ExpressApp.Validation

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

Syntax

[ModelNodesGenerator(typeof (ModelValidationContextsNodeGenerator))]
public interface IModelValidationContexts :
    IModelNode,
    IModelList<IModelValidationContext>,
    IList<IModelValidationContext>,
    ICollection<IModelValidationContext>,
    IEnumerable<IModelValidationContext>,
    IEnumerable

When using the ShowAllContexts Action to see whether entered data is valid, the invoked window provides information on all checked rules. This information is grouped by contexts. You can localize the contexts, so that the information is readable for end-users. To do this, use this node.

This interface is a part of the Application Model infrastructure and is not intended to be implemented by your classes. To learn more, refer to the Application Model Structure topic.

The IModelValidationContexts node represents a list of the IModelValidationContext nodes.

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

See Also