TreeView.onContextMenu

Fired when a context menu is requested, carrying the relevant item and the screen position to show the menu at. Raised both by a mouse right-click (item under the cursor) and by the keyboard — the Apps key or Shift+F10 — in which case the item is the selected node and the position is anchored to it. The screen coordinates can be passed straight to showPopupMenu.

class TreeView
Event!(TreeItem, MouseEventArgs) onContextMenu;

Meta