CaptionHelper.FindGroupNode(IModelApplication, String) Method

Provides access to the LocalizationGroup node corresponding to a specific group path.

Namespace: DevExpress.ExpressApp.Utils

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

public static IModelLocalizationGroup FindGroupNode(
    IModelApplication model,
    string groupPath
)
Public Shared Function FindGroupNode(
    model As IModelApplication,
    groupPath As String
) As IModelLocalizationGroup

Parameters

Type Name Description
IModelApplication model

An IModelApplication object representing the Application Model's root node.

String groupPath

A string representing the group path to the required LocalizationGroup node.

Returns

Type Description
IModelLocalizationGroup

An IModelLocalizationGroup object representing the LocalizationGroup node corresponding to the specified group path.

Remarks

If the specified node does not exist, the FindGroupNode method returns null (Nothing in VB).

Each child LocalizationGroup node of the Localization node has a group path associated with it. This path is represented by a sequence of parent localization group names separated by a double backslash. Suppose, for example, that the Localization node has the Messages localization group, which in turn has the Custom child localization group. In this instance, the group path for the Custom group is "Messages\Custom".

To see an example of localizing custom string constants, refer to the How to: Localize Custom String Constants help topic.

See Also