ShowNavigationItemController.GenerateNavigationItem(IModelApplication, ViewShortcut, String, String, String) Method

Creates an Application Model's NavigationItem node that defines an item of the ShowNavigationItemController's ShowNavigationItem Action.

Namespace: DevExpress.ExpressApp.SystemModule

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

public static IModelNavigationItem GenerateNavigationItem(
    IModelApplication modelApplication,
    ViewShortcut viewShortcut,
    string groupName,
    string navigationItemId,
    string caption
)
Public Shared Function GenerateNavigationItem(
    modelApplication As IModelApplication,
    viewShortcut As ViewShortcut,
    groupName As String,
    navigationItemId As String,
    caption As String
) As IModelNavigationItem

Parameters

Type Name Description
IModelApplication modelApplication

An IModelApplication object represents the Application Model.

ViewShortcut viewShortcut

A ViewShortcut object that presents key information for creating a new NavigationItem node.

String groupName

A string value representing the name of the NavigationItem node to which the new NavigationItem node will be added.

String navigationItemId

A string value that represents an identifier of the new NavigationItem node.

String caption

A string value that represents an identifier of the new NavigationItem node.

Returns

Type Description
IModelNavigationItem

An IModelNavigationItem object representing the Application Model's NavigationItem node.

Remarks

Use this method to create a new NavigationItem node and add it to the Application Model.

See Also