Skip to main content
.NET 8.0+

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

ValidationModule.GetContextCaption(String, IModelApplication) Method

Retrieves the caption associated with a particular validation context.

Namespace: DevExpress.ExpressApp.Validation

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

#Declaration

public static string GetContextCaption(
    string contextId,
    IModelApplication modelApplication
)

#Parameters

Name Type Description
contextId String

A string representation of a context identifier whose associated caption must be retrieved.

modelApplication IModelApplication

An IModelApplication object, which is the root node of the Application Model.

#Returns

Type Description
String

A string containing the caption associated with the contextId validation context.

#Remarks

Generally, you do not need to use this method.

See Also