Syncfusion.SfGrid.WPF


Syncfusion.UI.Xaml.TreeGrid Namespace > SfTreeGrid Class : TreeGridContextMenuOpening Event

TreeGridContextMenuOpening Event

Occurs before the shortcut menu/context menu opened.
Syntax
'Declaration
 
Public Event TreeGridContextMenuOpening As TreeGridContextMenuOpeningEventHandler
'Usage
 
Dim instance As SfTreeGrid
Dim handler As TreeGridContextMenuOpeningEventHandler
 
AddHandler instance.TreeGridContextMenuOpening, handler
public event TreeGridContextMenuOpeningEventHandler TreeGridContextMenuOpening
Event Data

The event handler receives an argument of type TreeGridContextMenuEventArgs containing data related to this event. The following TreeGridContextMenuEventArgs properties provide information specific to this event.

PropertyDescription
Gets or sets the shortcut menu associated with cell.  
Gets or sets an object that contains an information about the context menu.  
Gets or sets the type of context menu.  
Gets or sets a value that indicates whether the event handler has been handled completely and no further processing should be happened to the event. (Inherited from Syncfusion.UI.Xaml.Grid.GridHandledEventArgs)
Gets the original reporting source that raised the event. (Inherited from Syncfusion.UI.Xaml.Grid.GridEventArgs)
Gets or sets the Syncfusion.UI.Xaml.ScrollAxis.RowColumnIndex where the context menu is opened.  
Remarks
To handle or change the shortcut menu being opened through the TreeGridContextMenuEventArgs event argument.
AssemblyVersion

Syncfusion.SfGrid.WPF: 17.3460.0.26

See Also