ValidationModule.GetContextCaption(String, IModelApplication) Method

Retrieves the caption associated with a particular validation context.

Namespace: DevExpress.ExpressApp.Validation

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


public static string GetContextCaption(
    string contextId,
    IModelApplication modelApplication
Public Shared Function GetContextCaption(
    contextId As String,
    modelApplication As IModelApplication
) As String


Type Name Description
String contextId

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

IModelApplication modelApplication

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


Type Description

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

Generally, you do not need to use this method.

See Also