The requested page is not available for the requested platform. You are viewing the content for Default platform.

ShowNavigationItemController.GenerateNavigationItem(IModelApplication, ViewShortcut, String) Method

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

Namespace: DevExpress.ExpressApp.SystemModule

Assembly: DevExpress.ExpressApp.v19.1.dll


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


Name Type Description
modelApplication IModelApplication

An IModelApplication object representing the Application Model.

viewShortcut ViewShortcut

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

groupName String

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


Type Description

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


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

If you need to specify a particular value for the new NavigationItem node's Id and Caption, use another override of this method.

See Also