AddColumnHeaderContextMenuItems(GenericMenu)
Override this method to extend the default context menu items shown when context clicking the header area.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEditor.IMGUI.Controls
- Assembly: UnityEditor
protected virtual void AddColumnHeaderContextMenuItems(GenericMenu menu)
Parameters
Context menu shown.
Remarks
Call base.AddColumnHeaderContextMenuItems to add the default items. You can use MultiColumnHeader.currentColumnIndex to know which column was activated to open the contextual menu.