Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

SearchColumn

class in UnityEditor.Search


Implements interfaces:ISerializationCallbackReceiver

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

Search columns are used to display additional information in the Search Table view.

Properties

binderIf defined, the binder delegate is used to apply contextual data to a visual element.
cellCreatorIf defined, the cell creator delegate is used to customize how the search column displays its information.
comparerIf defined, the comparer delegate is used to sort search results based on the value displayed in that column.
contentThe content is used to display the search column label and image in its header.
drawerIf defined, the drawer delegate is used to customize how the search column displays its information.
getterIf defined, the getter delegate is used to customize how the search field data is extracted and transformed for display (see SearchColumn.drawer).
nameName of the search column.
optionsVarious options used to define how a search column is presented.
pathThe path can be used by the column delegates to interpret how the data can be manipulated.
providerThe provider is used to indicate which search column provider (see SearchColumn) is used to define the search column format.
selectorThe selector is used by the column delegates to fetch the search field data.
setterIf defined, the setter delegate writes back the value to the corresponding field of the search result.
widthThe column width is used to set the Search Table view column width.

Constructors

SearchColumnCreates a new search column.

Public Methods

InitFunctorsInitialize the column provider functors.

Static Methods

EnumerateEnumerate a set of columns for a variety of search items.