Class MainMenuViewComponent
Inheritance
MainMenuViewComponent
Assembly: Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton.dll
Syntax
public class MainMenuViewComponent : LeptonViewComponentBase
Constructors
MainMenuViewComponent(IMenuManager, IPageLayout)
Declaration
public MainMenuViewComponent(IMenuManager menuManager, IPageLayout pageLayout)
Parameters
Type |
Name |
Description |
IMenuManager |
menuManager |
|
IPageLayout |
pageLayout |
|
Properties
MenuManager
Declaration
protected IMenuManager MenuManager { get; }
Property Value
Type |
Description |
IMenuManager |
|
PageLayout
Declaration
protected IPageLayout PageLayout { get; }
Property Value
Type |
Description |
IPageLayout |
|
Methods
InvokeAsync()
Declaration
public virtual Task<IViewComponentResult> InvokeAsync()
Returns
SetActiveMenuItems(IList<MenuItemViewModel>, string)
Declaration
protected virtual bool SetActiveMenuItems(IList<MenuItemViewModel> items, string activeMenuItemName)
Parameters
Returns