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

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

The following members return IModelValidationContexts objects:

#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