NavigationHelperSetSelectedPath(IEnumerable`1MenuItem, HttpRequestBase, RouteData) - метод |
Identifies the currently selected path, starting from the selected node.
Пространство имён:
Orchard.UI.Navigation
Сборка:
EleWise.ELMA.SDK.Web (в EleWise.ELMA.SDK.Web.dll) Версия: 1.0.0.0
Синтаксисpublic static Stack<MenuItem> SetSelectedPath(
IEnumerable<MenuItem> menuItems,
HttpRequestBase currentRequest,
RouteData currentRouteData
)
Параметры
- menuItems
- Тип: IEnumerableMenuItem
All the menuitems in the navigation menu. - currentRequest
- Тип: HttpRequestBase
The currently executed request if any - currentRouteData
- Тип: RouteData
The current route data.
Возвращаемое значение
Тип:
StackMenuItemA stack with the selection path being the last node the currently selected one.
См. также