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.v24.2.dll
NuGet Package: DevExpress.ExpressApp
Declaration
Parameters
Name | Type | Description |
---|---|---|
modelApplication | IModelApplication | An IModelApplication object represents the Application Model. |
navigationItemGroupName | 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. |
navigationItemCaption | String | A string value that represents an identifier of the new NavigationItem node. |
viewId | String | A string representing the identifier of a View that is displayed when the created Navigation Item is clicked in the navigation control. |
objectKey | String | A string representing the key property value of the object which should be opened in the View specified by the viewId parameter. |
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.