Used to configure the menu events.
Inheritance
MenuEvents<TValue>
Assembly: Syncfusion.Blazor.dll
public class MenuEvents<TValue> : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Type Parameters
Constructors
Declaration
Properties
Gets or sets an event callback that is raised after closing the menu.
Declaration
[Parameter]
public EventCallback<OpenCloseMenuEventArgs<TValue>> Closed { get; set; }
Property Value
Gets or sets an event callback that is raised when rendering is completed.
Declaration
[Parameter]
public EventCallback<object> Created { get; set; }
Property Value
Gets or sets an event callback that is raised after selecting menu item.
Declaration
[Parameter]
public EventCallback<MenuEventArgs<TValue>> ItemSelected { get; set; }
Property Value
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
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
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
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
Methods
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type |
Name |
Description |
| bool |
disposing |
|
Overrides
Declaration
protected override Task OnInitializedAsync()
Returns
Overrides
Implements