Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

MultiColumnHeaderState

class in UnityEditor.IMGUI.Controls

/

Implemented in:UnityEditor

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.
对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答