menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class MenuOpenEventArgs<TValue> - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class MenuOpenEventArgs<TValue>

    Represents the class for MenuOpen event arguments.

    Inheritance
    System.Object
    MenuOpenEventArgs<TValue>
    Namespace: Syncfusion.Blazor.FileManager
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class MenuOpenEventArgs<TValue> : Object
    Type Parameters
    Name Description
    TValue

    Specifies the TValue of the FileManager.

    Constructors

    MenuOpenEventArgs()

    Declaration
    public MenuOpenEventArgs()

    Properties

    Cancel

    'true' if the context menu opening on file or folder must be cancelled; Otherwise,'false'.

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

    Element

    Gets the current context menu element.

    Declaration
    public ElementReference Element { get; set; }
    Property Value
    Type
    Microsoft.AspNetCore.Components.ElementReference

    FileDetails

    Gets or sets the target folder or file item as an array of JSON object.

    Declaration
    public List<TValue> FileDetails { get; set; }
    Property Value
    Type
    System.Collections.Generic.List<TValue>

    IsSubMenu

    Gets whether the current context menu is sub-menu or not.

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

    Items

    Gets the current context menu items as JSON object.

    Declaration
    public List<MenuItemModel> Items { get; set; }
    Property Value
    Type
    System.Collections.Generic.List<MenuItemModel>

    MenuType

    Gets the current context menu type based on current target.

    Declaration
    public string MenuType { get; set; }
    Property Value
    Type
    System.String
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved