ShowNavigationItemController.GetStartupNavigationItem() Method

Returns the ShowNavigationItem Action's item to be chosen when starting up the application.

Namespace: DevExpress.ExpressApp.SystemModule

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

public virtual ChoiceActionItem GetStartupNavigationItem()
Public Overridable Function GetStartupNavigationItem As ChoiceActionItem

Returns

Type Description
ChoiceActionItem

A ChoiceActionItem object representing the item in the navigation control to be chosen when loading the main window.

This method returns the item which is set for the NavigationItems node's IModelRootNavigationItems.StartupNavigationItem property. If nothing is set for this property, the first visible and enabled item from the first first-level navigation item of the ShowNavigationItem Action's ChoiceActionBase.Items collection is returned.

Note

This method is used by the WinShowStartupNavigationItemController and WebShowStartupNavigationItemController to get a navigation item and emulate clicking it.

See Also