Class RadzenPanelMenu
RadzenPanelMenu component.
Implements
IDisposable
Inherited Members
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
Syntax
public class RadzenPanelMenu : RadzenComponentWithChildren, IDisposable
Examples
<RadzenPanelMenu>
<RadzenPanelMenuItem Text="Data">
<RadzenPanelMenuItem Text="Orders" Path="orders" />
<RadzenPanelMenuItem Text="Employees" Path="employees" />
</RadzenPanelMenuItemItem>
</RadzenPanelMenu>
Properties
Click
Gets or sets the click callback.
Declaration
public EventCallback<MenuItemEventArgs> Click { get; set; }
Property Value
Type | Description |
---|---|
EventCallback<MenuItemEventArgs> | The click callback. |
DisplayStyle
Gets or sets the display style.
Declaration
public MenuItemDisplayStyle DisplayStyle { get; set; }
Property Value
Type | Description |
---|---|
MenuItemDisplayStyle |
Match
Gets or sets a value representing the URL matching behavior.
Declaration
public NavLinkMatch Match { get; set; }
Property Value
Type | Description |
---|---|
NavLinkMatch |
Multiple
Gets or sets a value indicating whether multiple items can be expanded.
Declaration
public bool Multiple { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
ShowArrow
Gets or sets the show arrow.
Declaration
public bool ShowArrow { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
AddItem(RadzenPanelMenuItem)
Adds the item.
Declaration
public void AddItem(RadzenPanelMenuItem item)
Parameters
Type | Name | Description |
---|---|---|
RadzenPanelMenuItem | item | The item. |
GetComponentCssClass()
Gets the component CSS class.
Declaration
protected override string GetComponentCssClass()
Returns
Type | Description |
---|---|
System.String |
Overrides
SetParametersAsync(ParameterView)
Called by the Blazor runtime when parameters are set.
Declaration
public override async Task SetParametersAsync(ParameterView parameters)
Parameters
Type | Name | Description |
---|---|---|
ParameterView | parameters | The parameters. |
Returns
Type | Description |
---|---|
Task |
Overrides
Implements
IDisposable