ColumnHeaderClicked(Column, int)
Override to customize the behavior when clicking a column header.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor.IMGUI.Controls
- Assembly: UnityEditor.CoreModule
protected virtual void ColumnHeaderClicked(MultiColumnHeaderState.Column column, int columnIndex)
Parameters
Remarks
The default behavior toggles the MultiColumnHeaderState.Column.sortedAscending property for the column and calls MultiColumnHeader.OnSortingChanged which in turns dispatches the MultiColumnHeader.sortingChanged event.
Call base.ColumnHeaderClicked to ensure default handling.