ValidationModule.GetContextCaption(String, IModelApplication) Method
In This Article
Retrieves the caption associated with a particular validation context.
Namespace: DevExpress.ExpressApp.Validation
Assembly: DevExpress.ExpressApp.Validation.v24.2.dll
NuGet Package: DevExpress.ExpressApp.Validation
#Declaration
public static string GetContextCaption(
string contextId,
IModelApplication modelApplication
)
#Parameters
Name | Type | Description |
---|---|---|
context |
String | A string representation of a context identifier whose associated caption must be retrieved. |
model |
IModel |
An IModel |
#Returns
Type | Description |
---|---|
String | A string containing the caption associated with the context |
#Remarks
Generally, you do not need to use this method.
See Also