menu

Blazor

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

    Show / Hide Table of Contents

    Class BeforeOpenCloseMenuEventArgs

    Provides information about the in OnOpen and OnClose event callback.

    Inheritance
    System.Object
    BeforeOpenCloseMenuEventArgs
    DropDownPopupCloseEventArgs
    DropDownPopupOpenEventArgs
    SplitButtonPopupCloseEventArgs
    SplitButtonPopupOpenEventArgs
    Namespace: Syncfusion.Blazor.SplitButtons
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class BeforeOpenCloseMenuEventArgs : Object

    Constructors

    BeforeOpenCloseMenuEventArgs()

    Declaration
    public BeforeOpenCloseMenuEventArgs()

    Properties

    Cancel

    Gets or sets whether the dropdown menu open/close needs to be prevented or not.

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

    true, if the dropdown menu open/close should be canceled. Otherwise, false.

    Element

    Specifies the button or dropdown element.

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

    An Microsoft.AspNetCore.Components.ElementReference object that represents the button or dropdown element.

    Event

    Gets or sets whether the color picker popup open needs to be prevented or not.

    Declaration
    public EventArgs Event { get; set; }
    Property Value
    Type Description
    System.EventArgs

    An System.EventArgs object that contains event data for the color picker.

    Items

    Gets or sets a value that indicates the list of dropdown menu items..

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

    Name

    Gets or sets a value that indicates the name of the event.

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    System.String

    Accepts the string value.

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