menu

WPF

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

    Show / Hide Table of Contents

    Class TreeGridContextMenuEventArgs

    Provides data for TreeGridContextMenuOpening event.

    Inheritance
    System.Object
    System.EventArgs
    GridEventArgs
    GridHandledEventArgs
    TreeGridContextMenuEventArgs
    Inherited Members
    GridEventArgs.OriginalSender
    GridHandledEventArgs.Handled
    System.EventArgs.Empty
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.UI.Xaml.TreeGrid
    Assembly: Syncfusion.SfGrid.WPF.dll
    Syntax
    public class TreeGridContextMenuEventArgs : GridHandledEventArgs

    Constructors

    TreeGridContextMenuEventArgs(ContextMenu, Object, RowColumnIndex, ContextMenuType, Object)

    Initializes a new instance of TreeGridContextMenuEventArgs class.

    Declaration
    public TreeGridContextMenuEventArgs(ContextMenu contextMenu, object contextMenuInfo, RowColumnIndex rowColumnIndex, ContextMenuType contextMenuType, object originalSource = null)
    Parameters
    Type Name Description
    System.Windows.Controls.ContextMenu contextMenu

    Contains the context menu for the SfTreeGrid.

    System.Object contextMenuInfo

    Contains the information about the context menu.

    RowColumnIndex rowColumnIndex

    The corresponding index where the shortcut menu is opened.

    ContextMenuType contextMenuType

    The corresponding type of the context menu.

    System.Object originalSource

    The source of the event.

    Properties

    ContextMenu

    Gets or sets the shortcut menu associated with cell.

    Declaration
    public ContextMenu ContextMenu { get; set; }
    Property Value
    Type Description
    System.Windows.Controls.ContextMenu

    A System.Windows.Controls.ContextMenu that represents the shortcut menu associated with cell.

    ContextMenuInfo

    Gets or sets an object that contains an information about the context menu.

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

    An object that contains an information about the context menu.

    ContextMenuType

    Gets or sets the type of context menu.

    Declaration
    public ContextMenuType ContextMenuType { get; set; }
    Property Value
    Type Description
    ContextMenuType

    One of the ContextMenuType enumeration that specifies the type of context menu.

    RowColumnIndex

    Gets or sets the RowColumnIndex where the context menu is opened.

    Declaration
    public RowColumnIndex RowColumnIndex { get; set; }
    Property Value
    Type Description
    RowColumnIndex

    The corresponding RowColumnIndex of the context menu.

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