Blazor

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ContextMenuOpenEventArgs<T> - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ContextMenuOpenEventArgs<T>

    Class that defines event argument of the context menu open.

    Inheritance
    System.Object
    GridEventBaseArgs
    ContextMenuOpenEventArgs<T>
    Implements
    System.IEquatable<ContextMenuOpenEventArgs<T>>
    Inherited Members
    GridEventBaseArgs.PreventRender
    Namespace: Syncfusion.Blazor.Grids
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ContextMenuOpenEventArgs<T> : GridEventBaseArgs, IEquatable<ContextMenuOpenEventArgs<T>>
    Type Parameters
    Name Description
    T

    Constructors

    ContextMenuOpenEventArgs()

    Declaration
    public ContextMenuOpenEventArgs()

    Properties

    Cancel

    Cancels the open event.

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

    Column

    Specifies the current column.

    Declaration
    public GridColumn Column { get; set; }
    Property Value
    Type Description
    GridColumn

    ContextMenuObj

    Gets the context menu component instance(ref)

    Declaration
    public SfContextMenu<MenuItem> ContextMenuObj { get; set; }
    Property Value
    Type Description
    SfContextMenu<MenuItem>

    Element

    Specifies the DOM details of current target.

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

    Event

    Specifies the original event. It can be either mouse event or keyboard event.

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

    Items

    Specifies the current items.

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

    Left

    Specifies the left position.

    Declaration
    public double Left { get; set; }
    Property Value
    Type Description
    System.Double

    Name

    Specifies name of the event.

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

    ParentItem

    Specifies the parent item model when clicking sub item. For item with no parent item, this will be null.

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

    RowInfo

    Gets the row details when menu is opened in content.

    Declaration
    public RowInfo<T> RowInfo { get; set; }
    Property Value
    Type Description
    RowInfo<T>

    Top

    Specifies the top position.

    Declaration
    public double Top { get; set; }
    Property Value
    Type Description
    System.Double

    Methods

    Equals(ContextMenuOpenEventArgs<T>)

    Declaration
    public bool Equals(ContextMenuOpenEventArgs<T> contextMenuOpenEventArgs)
    Parameters
    Type Name Description
    ContextMenuOpenEventArgs<T> contextMenuOpenEventArgs
    Returns
    Type Description
    System.Boolean

    Implements

    System.IEquatable<>
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved