Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

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.