Class MultiColumnHeader
Inheritance
MultiColumnHeader
Assembly: UnityEditor.dll
Syntax
public class MultiColumnHeader
Constructors
|
Improve this Doc
View Source
MultiColumnHeader(MultiColumnHeaderState)
Declaration
public MultiColumnHeader(MultiColumnHeaderState state)
Parameters
Properties
|
Improve this Doc
View Source
canSort
Declaration
public bool canSort { get; set; }
Property Value
|
Improve this Doc
View Source
height
Declaration
public float height { get; set; }
Property Value
|
Improve this Doc
View Source
sortedColumnIndex
Declaration
public int sortedColumnIndex { get; set; }
Property Value
|
Improve this Doc
View Source
state
Declaration
public MultiColumnHeaderState state { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
AddColumnHeaderContextMenuItems(GenericMenu)
Declaration
protected virtual void AddColumnHeaderContextMenuItems(GenericMenu menu)
Parameters
|
Improve this Doc
View Source
ColumnHeaderClicked(MultiColumnHeaderState.Column, Int32)
Declaration
protected virtual void ColumnHeaderClicked(MultiColumnHeaderState.Column column, int columnIndex)
Parameters
|
Improve this Doc
View Source
ColumnHeaderGUI(MultiColumnHeaderState.Column, Rect, Int32)
Declaration
protected virtual void ColumnHeaderGUI(MultiColumnHeaderState.Column column, Rect headerRect, int columnIndex)
Parameters
|
Improve this Doc
View Source
GetCellRect(Int32, Rect)
Declaration
public Rect GetCellRect(int visibleColumnIndex, Rect rowRect)
Parameters
Type |
Name |
Description |
Int32 |
visibleColumnIndex |
|
Rect |
rowRect |
|
Returns
|
Improve this Doc
View Source
GetColumn(Int32)
Declaration
public MultiColumnHeaderState.Column GetColumn(int columnIndex)
Parameters
Type |
Name |
Description |
Int32 |
columnIndex |
|
Returns
|
Improve this Doc
View Source
GetColumnRect(Int32)
Declaration
public Rect GetColumnRect(int visibleColumnIndex)
Parameters
Type |
Name |
Description |
Int32 |
visibleColumnIndex |
|
Returns
|
Improve this Doc
View Source
GetVisibleColumnIndex(Int32)
Declaration
public int GetVisibleColumnIndex(int columnIndex)
Parameters
Type |
Name |
Description |
Int32 |
columnIndex |
|
Returns
|
Improve this Doc
View Source
IsColumnVisible(Int32)
Declaration
public bool IsColumnVisible(int columnIndex)
Parameters
Type |
Name |
Description |
Int32 |
columnIndex |
|
Returns
|
Improve this Doc
View Source
IsSortedAscending(Int32)
Declaration
public bool IsSortedAscending(int columnIndex)
Parameters
Type |
Name |
Description |
Int32 |
columnIndex |
|
Returns
|
Improve this Doc
View Source
OnGUI(Rect, Single)
Declaration
public virtual void OnGUI(Rect rect, float xScroll)
Parameters
|
Improve this Doc
View Source
OnSortingChanged()
Declaration
protected virtual void OnSortingChanged()
|
Improve this Doc
View Source
OnVisibleColumnsChanged()
Declaration
protected virtual void OnVisibleColumnsChanged()
|
Improve this Doc
View Source
Repaint()
Declaration
|
Improve this Doc
View Source
ResizeToFit()
Declaration
public void ResizeToFit()
|
Improve this Doc
View Source
SetSortDirection(Int32, Boolean)
Declaration
public void SetSortDirection(int columnIndex, bool sortAscending)
Parameters
Type |
Name |
Description |
Int32 |
columnIndex |
|
Boolean |
sortAscending |
|
|
Improve this Doc
View Source
SetSorting(Int32, Boolean)
Declaration
public void SetSorting(int columnIndex, bool sortAscending)
Parameters
Type |
Name |
Description |
Int32 |
columnIndex |
|
Boolean |
sortAscending |
|
|
Improve this Doc
View Source
SetSortingColumns(Int32[], Boolean[])
Declaration
public void SetSortingColumns(int[] columnIndices, bool[] sortAscending)
Parameters
Type |
Name |
Description |
Int32[] |
columnIndices |
|
Boolean[] |
sortAscending |
|
|
Improve this Doc
View Source
Declaration
protected void SortingButton(MultiColumnHeaderState.Column column, Rect headerRect, int columnIndex)
Parameters
|
Improve this Doc
View Source
ToggleVisibility(Int32)
Declaration
protected virtual void ToggleVisibility(int columnIndex)
Parameters
Type |
Name |
Description |
Int32 |
columnIndex |
|
Events
|
Improve this Doc
View Source
sortingChanged
Declaration
public event MultiColumnHeader.HeaderCallback sortingChanged
Event Type
|
Improve this Doc
View Source
visibleColumnsChanged
Declaration
public event MultiColumnHeader.HeaderCallback visibleColumnsChanged
Event Type
Extension Methods