alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class FileMenuCloseEventArgs

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

    Inheritance
    object
    FileMenuCloseEventArgs
    FileMenuOpenEventArgs
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Blazor.Ribbon
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class FileMenuCloseEventArgs
    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
    bool

    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
    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.

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