Version: Unity 6.5 Alpha (6000.5)
LanguageEnglish
  • C#

HierarchyViewColumn

class in Unity.Hierarchy

/

Inherits from:UIElements.Column

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

Represents a column in a HierarchyView.

Properties

Property Description
CellDescriptors Gets the collection of HierarchyViewCellDescriptor instances available for this column.
Descriptor Gets the HierarchyViewColumnDescriptor used to build this column.

Constructors

Constructor Description
HierarchyViewColumn Creates a new HierarchyViewColumn from a HierarchyViewColumnDescriptor and sets the HierarchyView it belongs to.

Public Methods

Method Description
AddCell Adds a HierarchyViewCellDescriptor to this column. The cell descriptor must match the identifier of the HierarchyViewColumnDescriptor, and there must be no other cell descriptor with the same node type.
ToString Returns a string representation of this HierarchyViewColumn.

Inherited Members

Properties

PropertyDescription
bindCell Callback for binding the specified data item at the given row to the visual element.
bindHeader Callback for binding the header element to this column.
bindingPath Path of the target property to be bound.
cellTemplate The VisualElement that is the template for each cell of the column.
collection The column collection that contains this column.
comparison The comparison to use when using UIElements.ColumnSortingMode.Default. Compares two items by their index in the source.
destroyCell Callback for destroying the VisualElement that was built for this column.
destroyHeader Callback for destroying the visual representation of the column in the header.
headerTemplate The VisualElement that is the template for the header of the column.
icon The icon of the column.
makeCell Callback for constructing the VisualElement that is the template for each cell of the column.
makeHeader Callback for constructing the visual representation of the column in the header.
maxWidth The maximum width of the column.
minWidth The minimum width of the column.
name The name of the column.
optional Indicates whether the column is optional. Optional columns be shown or hidden interactively by the user.
resizable Indicates whether the column can be resized interactively by the user.
sortable Indicates whether the column can be sorted.
stretchable Indicates whether the column will be automatically resized to fill the available space within its container.
title The title of the column.
unbindCell Callback for unbinding the specified data item at the given row from the visual element.
unbindHeader Callback for unbinding the header element to this column.
visible Indicates whether the column is visible.
width The desired width of the column.

Events

EventDescription
propertyChanged Called when a property has changed.