ShowNavigationItemController.GenerateNavigationItem(IModelApplication, String, String, 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


public static IModelNavigationItem GenerateNavigationItem(
    IModelApplication modelApplication,
    string navigationItemGroupName,
    string navigationItemId,
    string navigationItemCaption,
    string viewId,
    string objectKey
Public Shared Function GenerateNavigationItem(
    modelApplication As IModelApplication,
    navigationItemGroupName As String,
    navigationItemId As String,
    navigationItemCaption As String,
    viewId As String,
    objectKey As String
) As IModelNavigationItem


Type Name Description
IModelApplication modelApplication

An IModelApplication object represents the Application Model.

String navigationItemGroupName

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 navigationItemCaption

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

String viewId

A string representing the identifier of a View that is displayed when the created Navigation Item is clicked in the navigation control.

String objectKey

A string representing the key property value of the object which should be opened in the View specified by the viewId parameter.


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.

See Also