Version: 2021.2

MultiColumnHeader.AddColumnHeaderContextMenuItems

切换到手册
protected void AddColumnHeaderContextMenuItems (GenericMenu menu);

参数

menu 显示的上下文菜单。

描述

重载此方法可展开单击标题区域时显示的默认上下文菜单项。

Call base.AddColumnHeaderContextMenuItems to add the default items. You can use currentColumnIndex to know which column was activated to open the contextual menu.