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.GetStartupNavigationItem() Method

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

Namespace: DevExpress.ExpressApp.SystemModule

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

public virtual ChoiceActionItem GetStartupNavigationItem()

#Returns

Type Description
ChoiceActionItem

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

#Remarks

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