RadzenPanelMenuItem Class

RadzenPanelMenuItem component.

Inheritance

Object

ComponentBase

RadzenComponent

RadzenPanelMenuItem

Implements

IComponent

IHandleEvent

IHandleAfterRender

Namespace: Radzen.Blazor

Assembly: Radzen.Blazor.dll

Syntax

public class RadzenPanelMenuItem : RadzenComponent, IComponent, IHandleEvent, IHandleAfterRender

Constructors

RadzenPanelMenuItemLink to this section

RadzenPanelMenuItem component.

Declaration
public RadzenPanelMenuItem()

Properties

ChildContentLink to this section

Gets or sets the child content.

Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Type Description
RenderFragmentGets or sets the child content.

ClickLink to this section

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.

DisabledLink to this section

Gets or sets a value indicating whether this RadzenPanelMenuItem is disabled.

Declaration
public bool Disabled { get; set; }
Property Value
Type Description
boolGets or sets a value indicating whether this RadzenPanelMenuItem is disabled.

ExpandedLink to this section

Gets or sets a value indicating whether this RadzenPanelMenuItem is expanded.

Declaration
public bool Expanded { get; set; }
Property Value
Type Description
boolGets or sets a value indicating whether this RadzenPanelMenuItem is expanded.

ExpandedChangedLink to this section

Gets or sets the expanded changed callback.

Declaration
public EventCallback<bool> ExpandedChanged { get; set; }
Property Value
Type Description
EventCallback<bool>Gets or sets the expanded changed callback.

IconLink to this section

Gets or sets the icon.

Declaration
public string Icon { get; set; }
Property Value
Type Description
stringGets or sets the icon.

IconColorLink to this section

Gets or sets the icon color.

Declaration
public string IconColor { get; set; }
Property Value
Type Description
stringGets or sets the icon color.

ImageLink to this section

Gets or sets the image.

Declaration
public string Image { get; set; }
Property Value
Type Description
stringGets or sets the image.

ImageAlternateTextLink to this section

Gets or sets the text.

Declaration
public string ImageAlternateText { get; set; }
Property Value
Type Description
stringGets or sets the text.

MatchLink to this section

Gets or sets the navigation link match.

Declaration
public Routing.NavLinkMatch Match { get; set; }
Property Value
Type Description
Routing.NavLinkMatchGets or sets the navigation link match.

ParentLink to this section

Gets or sets the parent.

Declaration
public RadzenPanelMenu Parent { get; set; }
Property Value
Type Description
RadzenPanelMenuGets or sets the parent.

ParentItemLink to this section

Gets or sets the parent item.

Declaration
public RadzenPanelMenuItem ParentItem { get; set; }
Property Value
Type Description
RadzenPanelMenuItemGets or sets the parent item.

PathLink to this section

Gets or sets the path.

Declaration
public string Path { get; set; }
Property Value
Type Description
stringGets or sets the path.

SelectedLink to this section

Gets or sets a value indicating whether this RadzenPanelMenuItem is selected.

Declaration
public bool Selected { get; set; }
Property Value
Type Description
boolGets or sets a value indicating whether this RadzenPanelMenuItem is selected.

TargetLink to this section

Gets or sets the target.

Declaration
public string Target { get; set; }
Property Value
Type Description
stringGets or sets the target.

TemplateLink to this section

Gets or sets the template.

Declaration
public RenderFragment Template { get; set; }
Property Value
Type Description
RenderFragmentGets or sets the template.

TextLink to this section

Gets or sets the text.

Declaration
public string Text { get; set; }
Property Value
Type Description
stringGets or sets the text.

ValueLink to this section

Gets or sets the value.

Declaration
public object Value { get; set; }
Property Value
Type Description
objectGets or sets the value.

Methods

AddItemLink to this section

Adds the item.

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

BuildRenderTreeLink to this section

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

DisposeLink to this section

Declaration
public override void Dispose()

GetComponentCssClassLink to this section

Declaration
protected override string GetComponentCssClass()
Returns
Type Description
string

OnClickLink to this section

Handles the Click event.

Declaration
public Task OnClick(MouseEventArgs args)
Parameters
Type Name Description
MouseEventArgs args The MouseEventArgs instance containing the event data.
Returns
Type Description
Task

OnInitializedLink to this section

Declaration
protected override void OnInitialized()

SetParametersAsyncLink to this section

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 🗙