Skip to main content
.NET Framework 4.6.2+

IModelValidationContexts Interface

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

Namespace: DevExpress.ExpressApp.Validation

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

Declaration

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

Remarks

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. You do not need to implement this interface in most cases.

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