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
Properties
MenuManager
Declaration
protected IMenuManager MenuManager { get; }
Property Value
PageLayout
Declaration
protected IPageLayout PageLayout { get; }
Property Value
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
Extension Methods