RadzenPanelMenuItem component.
IComponent
IHandleEvent
IHandleAfterRender
RadzenComponent.OnAfterRenderAsync
RadzenComponent.RaiseContextMenu
RadzenComponent.RaiseMouseEnter
RadzenComponent.AddContextMenu
RadzenComponent.RaiseMouseLeave
RadzenComponent.OnBecameInvisible
RadzenComponent.DefaultCulture
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 RadzenPanelMenuItem : RadzenComponent, IComponent, IHandleEvent, IHandleAfterRenderGets or sets the child content.
public RenderFragment ChildContent { get; set; }
| Type | Description |
|---|---|
| RenderFragment | Gets or sets the child content. |
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 a value indicating whether this RadzenPanelMenuItem is disabled.
public bool Disabled { get; set; }
| Type | Description |
|---|---|
| bool | Gets or sets a value indicating whether this RadzenPanelMenuItem is disabled. |
Gets or sets a value indicating whether this RadzenPanelMenuItem is expanded.
public bool Expanded { get; set; }
| Type | Description |
|---|---|
| bool | Gets or sets a value indicating whether this RadzenPanelMenuItem is expanded. |
Gets or sets the expanded changed callback.
public EventCallback<bool> ExpandedChanged { get; set; }
| Type | Description |
|---|---|
| EventCallback<bool> | Gets or sets the expanded changed callback. |
Gets or sets the icon.
public string Icon { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the icon. |
Gets or sets the icon color.
public string IconColor { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the icon color. |
Gets or sets the image.
public string Image { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the image. |
Gets or sets the text.
public string ImageAlternateText { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the text. |
Gets or sets the navigation link match.
public Routing.NavLinkMatch Match { get; set; }
| Type | Description |
|---|---|
| Routing.NavLinkMatch | Gets or sets the navigation link match. |
Gets or sets the parent.
public RadzenPanelMenu Parent { get; set; }
| Type | Description |
|---|---|
| RadzenPanelMenu | Gets or sets the parent. |
Gets or sets the parent item.
public RadzenPanelMenuItem ParentItem { get; set; }
| Type | Description |
|---|---|
| RadzenPanelMenuItem | Gets or sets the parent item. |
Gets or sets the path.
public string Path { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the path. |
Gets or sets a value indicating whether this RadzenPanelMenuItem is selected.
public bool Selected { get; set; }
| Type | Description |
|---|---|
| bool | Gets or sets a value indicating whether this RadzenPanelMenuItem is selected. |
Gets or sets the target.
public string Target { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the target. |
Gets or sets the template.
public RenderFragment Template { get; set; }
| Type | Description |
|---|---|
| RenderFragment | Gets or sets the template. |
Gets or sets the text.
public string Text { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the text. |
Gets or sets the value.
public object Value { get; set; }
| Type | Description |
|---|---|
| object | Gets or sets the value. |
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 |
Handles the Click event.
public Task OnClick(MouseEventArgs args)
| Type | Name | Description |
|---|---|---|
| MouseEventArgs | args | The MouseEventArgs instance containing the event data. |
| Type | Description |
|---|---|
| Task |
public override Task SetParametersAsync(ParameterView parameters)
| Type | Name | Description |
|---|---|---|
| ParameterView | parameters |
| Type | Description |
|---|---|
| Task |