Version: 2021.2
LanguageEnglish
  • C#

MultiColumnHeaderState

class in UnityEditor.IMGUI.Controls

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

State used by the MultiColumnHeader.

This state object.

Properties

columnsThe array of column states used by the MultiColumnHeader class.
maximumNumberOfSortedColumnsThis property controls the maximum number of columns returned by the sortedColumns property.
sortedColumnIndexThis property holds the index to the primary sorted column.
sortedColumnsThe array of column indices for multiple column sorting.
visibleColumnsThis is the array of currently visible column indices.
widthOfAllVisibleColumnsReturns the sum of all the widths of the visible columns in the visibleColumns array.

Constructors

MultiColumnHeaderStateConstructor.

Static Methods

CanOverwriteSerializedFieldsChecks if the source state can transfer its serialized data to the destination state.
OverwriteSerializedFieldsOverwrites the seralized fields from the source state to the destination state.