menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class FileMenuCloseEventArgs - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class FileMenuCloseEventArgs

    Provides information about the FileMenuClosing event callback for the file menu.

    Inheritance
    System.Object
    FileMenuCloseEventArgs
    FileMenuOpenEventArgs
    Namespace: Syncfusion.Blazor.Ribbon
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class FileMenuCloseEventArgs : Object
    Remarks

    This class allows customization or cancellation of the file menu's closing actions.

    Constructors

    FileMenuCloseEventArgs()

    Declaration
    public FileMenuCloseEventArgs()

    Properties

    Cancel

    Gets or sets a value indicating whether to cancel the file menu's current action.

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

    true to cancel the event; otherwise, false. The default is false.

    Remarks

    Use this property to prevent the file menu from closing when certain conditions are met.

    Items

    Gets the array of file menu items present in the popup.

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

    A list of MenuItem containing the items in the file menu popup.

    Remarks

    This property contains all the menu items that are displayed in the current file menu popup.

    ParentItem

    Gets the parent file menu item of the popup, in the case of a submenu.

    Declaration
    public MenuItem ParentItem { get; set; }
    Property Value
    Type Description
    MenuItem

    A MenuItem representing the parent item of the submenu.

    Remarks

    Use this property to identify the parent menu item when dealing with nested menus.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved