# Column

> Represents a column in multi-column views such as multi-column list view or multi-column tree view. Provides the properties to define how user interacts with a column in a multi-column view, how its data and the data of each cell in this column are represented.

## Definition

* **Type:** Class
* **Namespace:** [UnityEngine.UIElements](/engine/6000.5/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule
* **Implements:** [INotifyBindablePropertyChanged](/engine/6000.5/script-reference/unityengine/uielements/inotifybindablepropertychanged.md)

```csharp
public class Column : INotifyBindablePropertyChanged
```

## Properties

| Property                                                                                          | Description                                                                                                                                                                                         |
| ------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [bindCell](/engine/6000.5/script-reference/unityengine/uielements/column/bindcell.md)             | Callback for binding the specified data item at the given row to the visual element.                                                                                                                |
| [bindHeader](/engine/6000.5/script-reference/unityengine/uielements/column/bindheader.md)         | Callback for binding the header element to this column.                                                                                                                                             |
| [bindingPath](/engine/6000.5/script-reference/unityengine/uielements/column/bindingpath.md)       | Path of the target property to be bound.                                                                                                                                                            |
| [cellTemplate](/engine/6000.5/script-reference/unityengine/uielements/column/celltemplate.md)     | The VisualElement that is the template for each cell of the column.                                                                                                                                 |
| [collection](/engine/6000.5/script-reference/unityengine/uielements/column/collection.md)         | The column collection that contains this column.                                                                                                                                                    |
| [comparison](/engine/6000.5/script-reference/unityengine/uielements/column/comparison.md)         | The comparison to use when using [ColumnSortingMode.Default](/engine/6000.5/script-reference/unityengine/uielements/columnsortingmode/default.md). Compares two items by their index in the source. |
| [destroyCell](/engine/6000.5/script-reference/unityengine/uielements/column/destroycell.md)       | Callback for destroying the VisualElement that was built for this column.                                                                                                                           |
| [destroyHeader](/engine/6000.5/script-reference/unityengine/uielements/column/destroyheader.md)   | Callback for destroying the visual representation of the column in the header.                                                                                                                      |
| [headerTemplate](/engine/6000.5/script-reference/unityengine/uielements/column/headertemplate.md) | The VisualElement that is the template for the header of the column.                                                                                                                                |
| [icon](/engine/6000.5/script-reference/unityengine/uielements/column/icon.md)                     | The icon of the column.                                                                                                                                                                             |
| [makeCell](/engine/6000.5/script-reference/unityengine/uielements/column/makecell.md)             | Callback for constructing the VisualElement that is the template for each cell of the column.                                                                                                       |
| [makeHeader](/engine/6000.5/script-reference/unityengine/uielements/column/makeheader.md)         | Callback for constructing the visual representation of the column in the header.                                                                                                                    |
| [maxWidth](/engine/6000.5/script-reference/unityengine/uielements/column/maxwidth.md)             | The maximum width of the column.                                                                                                                                                                    |
| [minWidth](/engine/6000.5/script-reference/unityengine/uielements/column/minwidth.md)             | The minimum width of the column.                                                                                                                                                                    |
| [name](/engine/6000.5/script-reference/unityengine/uielements/column/name.md)                     | The name of the column.                                                                                                                                                                             |
| [optional](/engine/6000.5/script-reference/unityengine/uielements/column/optional.md)             | Indicates whether the column is optional. Optional columns be shown or hidden interactively by the user.                                                                                            |
| [resizable](/engine/6000.5/script-reference/unityengine/uielements/column/resizable.md)           | Indicates whether the column can be resized interactively by the user.                                                                                                                              |
| [sortable](/engine/6000.5/script-reference/unityengine/uielements/column/sortable.md)             | Indicates whether the column can be sorted.                                                                                                                                                         |
| [stretchable](/engine/6000.5/script-reference/unityengine/uielements/column/stretchable.md)       | Indicates whether the column will be automatically resized to fill the available space within its container.                                                                                        |
| [title](/engine/6000.5/script-reference/unityengine/uielements/column/title.md)                   | The title of the column.                                                                                                                                                                            |
| [unbindCell](/engine/6000.5/script-reference/unityengine/uielements/column/unbindcell.md)         | Callback for unbinding the specified data item at the given row from the visual element.                                                                                                            |
| [unbindHeader](/engine/6000.5/script-reference/unityengine/uielements/column/unbindheader.md)     | Callback for unbinding the header element to this column.                                                                                                                                           |
| [visible](/engine/6000.5/script-reference/unityengine/uielements/column/visible.md)               | Indicates whether the column is visible.                                                                                                                                                            |
| [width](/engine/6000.5/script-reference/unityengine/uielements/column/width.md)                   | The desired width of the column.                                                                                                                                                                    |

## Events

| Member                                                                                              | Description                         |
| --------------------------------------------------------------------------------------------------- | ----------------------------------- |
| [propertyChanged](/engine/6000.5/script-reference/unityengine/uielements/column/propertychanged.md) | Called when a property has changed. |
