RadzenPanelMenu component.
IComponent
IHandleEvent
IHandleAfterRender
RadzenComponentWithChildren.ChildContent
RadzenComponent.OnAfterRenderAsync
RadzenComponent.RaiseContextMenu
RadzenComponent.RaiseMouseEnter
RadzenComponent.AddContextMenu
RadzenComponent.RaiseMouseLeave
RadzenComponent.OnBecameInvisible
RadzenComponent.DefaultCulture
RadzenComponent.DefaultUICulture
RadzenComponent.IsJSRuntimeAvailable
ComponentBase.OnInitializedAsync
ComponentBase.OnParametersSet
ComponentBase.OnParametersSetAsync
ComponentBase.StateHasChanged
ComponentBase.ShouldRender
ComponentBase.OnAfterRender
ComponentBase.InvokeAsync
ComponentBase.DispatchExceptionAsync
ComponentBase.RendererInfo
ComponentBase.Assets
ComponentBase.AssignedRenderMode
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
public class RadzenPanelMenu : RadzenComponentWithChildren, IComponent, IHandleEvent, IHandleAfterRender<RadzenPanelMenu>
<RadzenPanelMenuItem Text="Data">
<RadzenPanelMenuItem Text="Orders" Path="orders" />
<RadzenPanelMenuItem Text="Employees" Path="employees" />
</RadzenPanelMenuItemItem>
</RadzenPanelMenu>RadzenPanelMenu component.
public RadzenPanelMenu()Gets or sets the menu aria label text.
public string AriaLabel { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the menu aria label text. |
Gets or sets the click callback.
public EventCallback<MenuItemEventArgs> Click { get; set; }
| Type | Description |
|---|---|
| EventCallback<MenuItemEventArgs> | Gets or sets the click callback. |
Gets or sets the display style.
public MenuItemDisplayStyle DisplayStyle { get; set; }
| Type | Description |
|---|---|
| MenuItemDisplayStyle | Gets or sets the display style. |
Gets or sets a value representing the URL matching behavior.
public Routing.NavLinkMatch Match { get; set; }
| Type | Description |
|---|---|
| Routing.NavLinkMatch | Gets or sets a value representing the URL matching behavior. |
Gets or sets a value indicating whether multiple items can be expanded.
public bool Multiple { get; set; }
| Type | Description |
|---|---|
| bool | Gets or sets a value indicating whether multiple items can be expanded. |
Gets or sets how child items of expandable items are rendered. Set to Client by default which renders the whole menu up front. Use Server to render collapsed branches only when they are expanded, which keeps the DOM small for large menus.
public PanelMenuRenderMode RenderMode { get; set; }
| Type | Description |
|---|---|
| PanelMenuRenderMode | Gets or sets how child items of expandable items are rendered. Set to Client by default which renders the whole menu up front. Use Server to render collapsed branches only when they are expanded, which keeps the DOM small for large menus. |
Gets or sets the show arrow.
public bool ShowArrow { get; set; }
| Type | Description |
|---|---|
| bool | Gets or sets the show arrow. |
Adds the item.
public void AddItem(RadzenPanelMenuItem item)
| Type | Name | Description |
|---|---|---|
| RadzenPanelMenuItem | item | The item. |
protected override void BuildRenderTree(Rendering.RenderTreeBuilder __builder)
| Type | Name | Description |
|---|---|---|
| Rendering.RenderTreeBuilder | __builder |
protected override string GetComponentCssClass()
| Type | Description |
|---|---|
| string |
public override Task SetParametersAsync(ParameterView parameters)
| Type | Name | Description |
|---|---|---|
| ParameterView | parameters |
| Type | Description |
|---|---|
| Task |