RadzenPanelMenu Class

RadzenPanelMenu component.

Inheritance

Object

ComponentBase

RadzenComponent

RadzenComponentWithChildren

RadzenPanelMenu

Implements

IComponent

IHandleEvent

IHandleAfterRender

Namespace: Radzen.Blazor

Assembly: Radzen.Blazor.dll

Syntax

public class RadzenPanelMenu : RadzenComponentWithChildren, IComponent, IHandleEvent, IHandleAfterRender

Examples

<RadzenPanelMenu>
    <RadzenPanelMenuItem Text="Data">
        <RadzenPanelMenuItem Text="Orders" Path="orders" />
        <RadzenPanelMenuItem Text="Employees" Path="employees" />
    </RadzenPanelMenuItemItem>
</RadzenPanelMenu>

Constructors

RadzenPanelMenulink

RadzenPanelMenu component.

Declaration
public RadzenPanelMenu()

Properties

AriaLabellink

Gets or sets the menu aria label text.

Declaration
public string AriaLabel { get; set; }
Property Value
Type Description
stringGets or sets the menu aria label text.

Clicklink

Gets or sets the click callback.

Declaration
public EventCallback<MenuItemEventArgs> Click { get; set; }
Property Value
Type Description
EventCallback<MenuItemEventArgs>Gets or sets the click callback.

DisplayStylelink

Gets or sets the display style.

Declaration
public MenuItemDisplayStyle DisplayStyle { get; set; }
Property Value
Type Description
MenuItemDisplayStyleGets or sets the display style.

Matchlink

Gets or sets a value representing the URL matching behavior.

Declaration
public Routing.NavLinkMatch Match { get; set; }
Property Value
Type Description
Routing.NavLinkMatchGets or sets a value representing the URL matching behavior.

Multiplelink

Gets or sets a value indicating whether multiple items can be expanded.

Declaration
public bool Multiple { get; set; }
Property Value
Type Description
boolGets or sets a value indicating whether multiple items can be expanded.

ShowArrowlink

Gets or sets the show arrow.

Declaration
public bool ShowArrow { get; set; }
Property Value
Type Description
boolGets or sets the show arrow.

Methods

AddItemlink

Adds the item.

Declaration
public void AddItem(RadzenPanelMenuItem item)
Parameters
Type Name Description
RadzenPanelMenuItem item The item.

BuildRenderTreelink

Declaration
protected override void BuildRenderTree(Rendering.RenderTreeBuilder __builder)
Parameters
Type Name Description
Rendering.RenderTreeBuilder __builder

GetComponentCssClasslink

Declaration
protected override string GetComponentCssClass()
Returns
Type Description
string

SetParametersAsynclink

Declaration
public override Task SetParametersAsync(ParameterView parameters)
Parameters
Type Name Description
ParameterView parameters
Returns
Type Description
Task
An error has occurred. This app may no longer respond until reloaded. Reload 🗙