Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class MenuOpenEventArgs<TValue>

    Show / Hide Table of Contents

    Class MenuOpenEventArgs<TValue>

    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

    TValue.

    Constructors

    MenuOpenEventArgs()

    Declaration
    public MenuOpenEventArgs()

    Properties

    Cancel

    If you want to cancel this event then, set cancel to true. Otherwise, false.

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

    Element

    Returns the current context menu element.

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

    FileDetails

    Returns the target folder/file item as an array of JSON object.

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

    IsSubMenu

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

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

    Items

    Returns the current context menu items as JSON object.

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

    MenuType

    Returns the current context menu type based on current target.

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