Demos About Radzen
Search Results for

    Show / Hide Table of Contents

    Class RadzenPanelMenuItem

    RadzenPanelMenuItem component.

    Inheritance
    object
    ComponentBase
    RadzenComponent
    RadzenPanelMenuItem
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    Inherited Members
    RadzenComponent.OnMouseEnter()
    RadzenComponent.OnMouseLeave()
    RadzenComponent.OnContextMenu(MouseEventArgs)
    RadzenComponent.GetCssClass()
    RadzenComponent.GetId()
    RadzenComponent.Debounce(Func<Task>, int)
    RadzenComponent.OnAfterRenderAsync(bool)
    RadzenComponent.RaiseContextMenu(MouseEventArgs)
    RadzenComponent.RaiseMouseEnter()
    RadzenComponent.RaiseMouseLeave()
    RadzenComponent.Attributes
    RadzenComponent.Element
    RadzenComponent.MouseEnter
    RadzenComponent.MouseLeave
    RadzenComponent.ContextMenu
    RadzenComponent.Culture
    RadzenComponent.DefaultCulture
    RadzenComponent.Style
    RadzenComponent.Visible
    RadzenComponent.UniqueID
    RadzenComponent.JSRuntime
    RadzenComponent.IsJSRuntimeAvailable
    RadzenComponent.Reference
    RadzenComponent.CurrentStyle
    ComponentBase.OnInitializedAsync()
    ComponentBase.OnParametersSet()
    ComponentBase.OnParametersSetAsync()
    ComponentBase.StateHasChanged()
    ComponentBase.ShouldRender()
    ComponentBase.OnAfterRender(bool)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.DispatchExceptionAsync(Exception)
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: Radzen.Blazor
    Assembly: Radzen.Blazor.dll
    Syntax
    public class RadzenPanelMenuItem : RadzenComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

    Constructors

    RadzenPanelMenuItem()

    RadzenPanelMenuItem component.

    Declaration
    public RadzenPanelMenuItem()

    Properties

    ChildContent

    Gets or sets the child content.

    Declaration
    [Parameter]
    public RenderFragment ChildContent { get; set; }
    Property Value
    Type Description
    RenderFragment

    The child content.

    Click

    Gets or sets the click callback.

    Declaration
    [Parameter]
    public EventCallback<MenuItemEventArgs> Click { get; set; }
    Property Value
    Type Description
    EventCallback<MenuItemEventArgs>

    The click callback.

    Disabled

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

    Declaration
    [Parameter]
    public bool Disabled { get; set; }
    Property Value
    Type Description
    bool

    true if disabled; otherwise, false.

    Expanded

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

    Declaration
    [Parameter]
    public bool Expanded { get; set; }
    Property Value
    Type Description
    bool

    true if expanded; otherwise, false.

    ExpandedChanged

    Gets or sets the expanded changed callback.

    Declaration
    [Parameter]
    public EventCallback<bool> ExpandedChanged { get; set; }
    Property Value
    Type Description
    EventCallback<bool>

    The expanded changed callback.

    Icon

    Gets or sets the icon.

    Declaration
    [Parameter]
    public string Icon { get; set; }
    Property Value
    Type Description
    string

    The icon.

    IconColor

    Gets or sets the icon color.

    Declaration
    [Parameter]
    public string IconColor { get; set; }
    Property Value
    Type Description
    string

    The icon color.

    Image

    Gets or sets the image.

    Declaration
    [Parameter]
    public string Image { get; set; }
    Property Value
    Type Description
    string

    The image.

    ImageAlternateText

    Gets or sets the text.

    Declaration
    [Parameter]
    public string ImageAlternateText { get; set; }
    Property Value
    Type Description
    string

    The text.

    Match

    Gets or sets the navigation link match.

    Declaration
    [Parameter]
    public NavLinkMatch Match { get; set; }
    Property Value
    Type Description
    NavLinkMatch

    The navigation link match.

    Parent

    Gets or sets the parent.

    Declaration
    [CascadingParameter]
    public RadzenPanelMenu Parent { get; set; }
    Property Value
    Type Description
    RadzenPanelMenu

    The parent.

    ParentItem

    Gets or sets the parent item.

    Declaration
    [CascadingParameter]
    public RadzenPanelMenuItem ParentItem { get; set; }
    Property Value
    Type Description
    RadzenPanelMenuItem

    The parent item.

    Path

    Gets or sets the path.

    Declaration
    [Parameter]
    public string Path { get; set; }
    Property Value
    Type Description
    string

    The path.

    Selected

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

    Declaration
    [Parameter]
    public bool Selected { get; set; }
    Property Value
    Type Description
    bool

    true if selected; otherwise, false.

    Target

    Gets or sets the target.

    Declaration
    [Parameter]
    public string Target { get; set; }
    Property Value
    Type Description
    string

    The target.

    Template

    Gets or sets the template.

    Declaration
    [Parameter]
    public RenderFragment Template { get; set; }
    Property Value
    Type Description
    RenderFragment

    The template.

    Text

    Gets or sets the text.

    Declaration
    [Parameter]
    public string Text { get; set; }
    Property Value
    Type Description
    string

    The text.

    Value

    Gets or sets the value.

    Declaration
    [Parameter]
    public object Value { get; set; }
    Property Value
    Type Description
    object

    The value.

    Methods

    AddItem(RadzenPanelMenuItem)

    Adds the item.

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

    The item.

    BuildRenderTree(RenderTreeBuilder)

    RadzenPanelMenuItem component.

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

    Dispose()

    Detaches event handlers and disposes Reference.

    Declaration
    public override void Dispose()
    Overrides
    RadzenComponent.Dispose()

    GetComponentCssClass()

    Gets the component CSS class.

    Declaration
    protected override string GetComponentCssClass()
    Returns
    Type Description
    string
    Overrides
    RadzenComponent.GetComponentCssClass()

    OnClick(MouseEventArgs)

    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

    OnInitialized()

    Called by the Blazor runtime.

    Declaration
    protected override void OnInitialized()
    Overrides
    RadzenComponent.OnInitialized()

    SetParametersAsync(ParameterView)

    Called by the Blazor runtime when parameters are set.

    Declaration
    public override Task SetParametersAsync(ParameterView parameters)
    Parameters
    Type Name Description
    ParameterView parameters

    The parameters.

    Returns
    Type Description
    Task
    Overrides
    RadzenComponent.SetParametersAsync(ParameterView)

    Implements

    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable

    Introducing Radzen Blazor Studio

    Radzen Blazor Studio is a software development environment that empowers developers to design, build and deploy Blazor applications without the traditional hurdles. Write less code and get more done.

    Learn More

    Download Now
    Download Now
    In This Article
    Back to top Radzen Blazor Components, © 2018-2025 Radzen. Source Code licensed under MIT