Scripting API

Column

class in UnityEngine.UIElements · UnityEngine.UIElementsModule

26 of 26 of Unity's membersUnity's documentation
In Tassix

A column of a multi-column view: its header, width, and the cells it makes and binds.

Constructors 1

Properties 24

Action<VisualElement, int>? bindCell { get; set; }
Action<VisualElement>? bindHeader { get; set; }
string bindingPath { get; set; }
VisualTreeAsset? cellTemplate { get; set; }
Columns? collection { get; }
Comparison<int>? comparison { get; set; }

Compares two items by their source indices (default sorting).

Action<VisualElement>? destroyCell { get; set; }
Action<VisualElement>? destroyHeader { get; set; }
VisualTreeAsset? headerTemplate { get; set; }
Background icon { get; set; }
Func<VisualElement>? makeCell { get; set; }
Func<VisualElement>? makeHeader { get; set; }
Length maxWidth { get; set; }
Length minWidth { get; set; }
string name { get; set; }
bool optional { get; set; }
bool resizable { get; set; }
bool sortable { get; set; }
bool stretchable { get; set; }

Takes a share of the width the fixed columns leave.

string title { get; set; }
Action<VisualElement, int>? unbindCell { get; set; }
Action<VisualElement>? unbindHeader { get; set; }
bool visible { get; set; }
Length width { get; set; }

Events 1

event EventHandler<BindablePropertyChangedEventArgs>? propertyChanged