Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

public static IModelNavigationItem GenerateNavigationItem(
    IModelApplication modelApplication,
    ViewShortcut viewShortcut,
    string groupName,
    string navigationItemId,
    string caption
)

#Parameters

Name Type Description
modelApplication IModelApplication

An IModelApplication object represents 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.

navigationItemId String

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

caption String

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