Show / Hide Table of Contents

Class MainMenuViewComponent

Inheritance
object
LeptonViewComponentBase
MainMenuViewComponent
Namespace: Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton.Themes.Lepton.Components.MainMenu
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
Type Description
Task<IViewComponentResult>

SetActiveMenuItems(IList<MenuItemViewModel>, string)

Declaration
protected virtual bool SetActiveMenuItems(IList<MenuItemViewModel> items, string activeMenuItemName)
Parameters
Type Name Description
IList<MenuItemViewModel> items
string activeMenuItemName
Returns
Type Description
bool
In this article
Back to top Powered by Volosoft