alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class MenuEvents<TValue>

    Used to configure the menu events.

    Inheritance
    object
    ComponentBase
    OwningComponentBase
    SfOwningComponentBase
    MenuEvents<TValue>
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    Inherited Members
    ComponentBase.Assets
    ComponentBase.AssignedRenderMode
    ComponentBase.BuildRenderTree(RenderTreeBuilder)
    ComponentBase.DispatchExceptionAsync(Exception)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.OnAfterRender(bool)
    ComponentBase.OnAfterRenderAsync(bool)
    ComponentBase.OnInitialized()
    ComponentBase.OnInitializedAsync()
    ComponentBase.OnParametersSet()
    ComponentBase.OnParametersSetAsync()
    ComponentBase.RendererInfo
    ComponentBase.SetParametersAsync(ParameterView)
    ComponentBase.ShouldRender()
    ComponentBase.StateHasChanged()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    OwningComponentBase.Dispose(bool)
    OwningComponentBase.IsDisposed
    OwningComponentBase.ScopedServices
    Namespace: Syncfusion.Blazor.Navigations
    Assembly: Syncfusion.Blazor.Navigations.dll
    Syntax
    public class MenuEvents<TValue> : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
    Type Parameters
    Name
    TValue

    Constructors

    MenuEvents()

    Declaration
    public MenuEvents()

    Properties

    Closed

    Gets or sets an event callback that is raised after closing the menu.

    Declaration
    [Parameter]
    public EventCallback<OpenCloseMenuEventArgs<TValue>> Closed { get; set; }
    Property Value
    Type
    EventCallback<OpenCloseMenuEventArgs<TValue>>

    Created

    Gets or sets an event callback that is raised when rendering is completed.

    Declaration
    [Parameter]
    public EventCallback<object> Created { get; set; }
    Property Value
    Type
    EventCallback<object>

    ItemSelected

    Gets or sets an event callback that is raised after selecting menu item.

    Declaration
    [Parameter]
    public EventCallback<MenuEventArgs<TValue>> ItemSelected { get; set; }
    Property Value
    Type
    EventCallback<MenuEventArgs<TValue>>

    OnClose

    Gets or sets an event callback that is raised before closing the sub menu.

    Declaration
    [Parameter]
    public EventCallback<BeforeOpenCloseMenuEventArgs<TValue>> OnClose { get; set; }
    Property Value
    Type
    EventCallback<BeforeOpenCloseMenuEventArgs<TValue>>

    OnItemRender

    Gets or sets an event callback that is raised while rendering each menu item.

    Declaration
    [Parameter]
    public EventCallback<MenuEventArgs<TValue>> OnItemRender { get; set; }
    Property Value
    Type
    EventCallback<MenuEventArgs<TValue>>

    OnOpen

    Gets or sets an event callback that is raised before opening the menu item.

    Declaration
    [Parameter]
    public EventCallback<BeforeOpenCloseMenuEventArgs<TValue>> OnOpen { get; set; }
    Property Value
    Type
    EventCallback<BeforeOpenCloseMenuEventArgs<TValue>>

    Opened

    Gets or sets an event callback that is raised after opening the menu item.

    Declaration
    [Parameter]
    public EventCallback<OpenCloseMenuEventArgs<TValue>> Opened { get; set; }
    Property Value
    Type
    EventCallback<OpenCloseMenuEventArgs<TValue>>

    Implements

    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved