Table of Contents

Class RadzenPanelMenuItem

Namespace
Radzen.Blazor
Assembly
Radzen.Blazor.dll

RadzenPanelMenuItem component.

public class RadzenPanelMenuItem : RadzenComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance
RadzenPanelMenuItem
Implements
Inherited Members

Constructors

RadzenPanelMenuItem()

public RadzenPanelMenuItem()

Properties

ChildContent

Gets or sets the child content.

[Parameter]
public RenderFragment ChildContent { get; set; }

Property Value

RenderFragment

The child content.

Click

Gets or sets the click callback.

[Parameter]
public EventCallback<MenuItemEventArgs> Click { get; set; }

Property Value

EventCallback<MenuItemEventArgs>

The click callback.

Expanded

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

[Parameter]
public bool Expanded { get; set; }

Property Value

bool

true if expanded; otherwise, false.

ExpandedChanged

Gets or sets the expanded changed callback.

[Parameter]
public EventCallback<bool> ExpandedChanged { get; set; }

Property Value

EventCallback<bool>

The expanded changed callback.

Icon

Gets or sets the icon.

[Parameter]
public string Icon { get; set; }

Property Value

string

The icon.

IconColor

Gets or sets the icon color.

[Parameter]
public string IconColor { get; set; }

Property Value

string

The icon color.

Image

Gets or sets the image.

[Parameter]
public string Image { get; set; }

Property Value

string

The image.

ImageAlternateText

Gets or sets the text.

[Parameter]
public string ImageAlternateText { get; set; }

Property Value

string

The text.

Match

Gets or sets the navigation link match.

[Parameter]
public NavLinkMatch Match { get; set; }

Property Value

NavLinkMatch

The navigation link match.

Parent

Gets or sets the parent.

[CascadingParameter]
public RadzenPanelMenu Parent { get; set; }

Property Value

RadzenPanelMenu

The parent.

ParentItem

Gets or sets the parent item.

[CascadingParameter]
public RadzenPanelMenuItem ParentItem { get; set; }

Property Value

RadzenPanelMenuItem

The parent item.

Path

Gets or sets the path.

[Parameter]
public string Path { get; set; }

Property Value

string

The path.

Selected

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

[Parameter]
public bool Selected { get; set; }

Property Value

bool

true if selected; otherwise, false.

Target

Gets or sets the target.

[Parameter]
public string Target { get; set; }

Property Value

string

The target.

Template

Gets or sets the template.

[Parameter]
public RenderFragment Template { get; set; }

Property Value

RenderFragment

The template.

Text

Gets or sets the text.

[Parameter]
public string Text { get; set; }

Property Value

string

The text.

Value

Gets or sets the value.

[Parameter]
public object Value { get; set; }

Property Value

object

The value.

Methods

AddItem(RadzenPanelMenuItem)

Adds the item.

public void AddItem(RadzenPanelMenuItem item)

Parameters

item RadzenPanelMenuItem

The item.

BuildRenderTree(RenderTreeBuilder)

protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder RenderTreeBuilder

Dispose()

public override void Dispose()

GetComponentCssClass()

protected override string GetComponentCssClass()

Returns

string

OnClick(MouseEventArgs)

Handles the Click event.

public Task OnClick(MouseEventArgs args)

Parameters

args MouseEventArgs

The MouseEventArgs instance containing the event data.

Returns

Task

Select(bool)

Selects the specified item by value.

public void Select(bool value)

Parameters

value bool

if set to true [value].

SetParametersAsync(ParameterView)

public override Task SetParametersAsync(ParameterView parameters)

Parameters

parameters ParameterView

Returns

Task