alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class BeforeOpenCloseMenuEventArgs<T>

    Provides the information about OnOpen/OnClose event.

    Inheritance
    object
    BeforeOpenCloseMenuEventArgs<T>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Blazor.Navigations
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class BeforeOpenCloseMenuEventArgs<T>
    Type Parameters
    Name
    T

    Constructors

    BeforeOpenCloseMenuEventArgs()

    Declaration
    public BeforeOpenCloseMenuEventArgs()

    Properties

    Cancel

    Gets or sets a value that indicates whether to allow or prevent the open/close action of menu bar.

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

    Element

    Gets or sets a value that indicates the menu container element.

    Declaration
    public ElementReference Element { get; set; }
    Property Value
    Type
    ElementReference

    Items

    Gets or sets a value that indicates the current menu items.

    Declaration
    public List<T> Items { get; set; }
    Property Value
    Type
    List<T>

    Left

    Gets or sets a value that indicates the clientX position of the menu.

    Declaration
    public double? Left { get; set; }
    Property Value
    Type
    double?

    Name

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

    Declaration
    public string Name { get; set; }
    Property Value
    Type
    string

    ParentItem

    Gets or sets a value that indicates the parent item.

    Declaration
    public T ParentItem { get; set; }
    Property Value
    Type
    T

    ScrollHeight

    Gets or sets a value that indicates the menu container height to show the scrollable menu. It is applicable only when the EnableScrolling property is enabled.

    Declaration
    public double ScrollHeight { get; set; }
    Property Value
    Type
    double

    TargetId

    Gets the ID of the element on which the user right click their mouse button (or finger, on touch devices) to open the context menu.

    Declaration
    public string TargetId { get; set; }
    Property Value
    Type
    string

    Top

    Gets or sets a value that indicates the clientY position of the menu.

    Declaration
    public double? Top { get; set; }
    Property Value
    Type
    double?
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved