Demos About Radzen
Search Results for

    Show / Hide Table of Contents

    Class RadzenMenu

    RadzenMenu component.

    Inheritance
    System.Object
    RadzenComponent
    RadzenComponentWithChildren
    RadzenMenu
    Implements
    IDisposable
    Inherited Members
    RadzenComponentWithChildren.ChildContent
    RadzenComponent.Attributes
    RadzenComponent.Element
    RadzenComponent.MouseEnter
    RadzenComponent.MouseLeave
    RadzenComponent.ContextMenu
    RadzenComponent.Culture
    RadzenComponent.DefaultCulture
    RadzenComponent.OnMouseEnter()
    RadzenComponent.OnMouseLeave()
    RadzenComponent.OnContextMenu(Microsoft.AspNetCore.Components.Web.MouseEventArgs)
    RadzenComponent.Style
    RadzenComponent.Visible
    RadzenComponent.GetCssClass()
    RadzenComponent.GetId()
    RadzenComponent.Debounce(Func<Task>, Int32)
    RadzenComponent.UniqueID
    RadzenComponent.JSRuntime
    RadzenComponent.IsJSRuntimeAvailable
    RadzenComponent.SetParametersAsync(ParameterView)
    RadzenComponent.Reference
    RadzenComponent.OnAfterRenderAsync(Boolean)
    RadzenComponent.RaiseContextMenu(Microsoft.AspNetCore.Components.Web.MouseEventArgs)
    RadzenComponent.RaiseMouseEnter()
    RadzenComponent.RaiseMouseLeave()
    RadzenComponent.CurrentStyle
    Namespace: Radzen.Blazor
    Assembly: Radzen.Blazor.dll
    Syntax
    public class RadzenMenu : RadzenComponentWithChildren, IDisposable
    Examples
    <RadzenMenu>
        <RadzenMenuItem Text="Data">
            <RadzenMenuItem Text="Orders" Path="orders" />
            <RadzenMenuItem Text="Employees" Path="employees" />
        </RadzenMenuItemItem>
    </RadzenMenu>

    Properties

    Click

    Gets or sets the click callback.

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

    The click callback.

    ClickToOpen

    Gets or sets a value indicating whether this RadzenMenu should open item on click or on hover.

    Declaration
    public bool ClickToOpen { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if open item on click; otherwise, false and items will open on hover.

    Responsive

    Gets or sets a value indicating whether this RadzenMenu is responsive.

    Declaration
    public bool Responsive { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if responsive; otherwise, false.

    ToggleAriaLabel

    Gets or sets the add button aria-label attribute.

    Declaration
    public string ToggleAriaLabel { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    AddItem(RadzenMenuItem)

    Adds the item.

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

    The item.

    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
    System.String
    Overrides
    RadzenComponent.GetComponentCssClass()

    OnInitialized()

    Called by the Blazor runtime.

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

    Implements

    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