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

TreeGridContextMenuOpening Event

Occurs before the shortcut menu/context menu opened.
Public Event TreeGridContextMenuOpening As TreeGridContextMenuOpeningEventHandler
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.

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.  
To handle or change the shortcut menu being opened through the TreeGridContextMenuEventArgs event argument.

Syncfusion.SfGrid.WPF: 18.2460.0.44

See Also