Scripting API

Columns

class in UnityEngine.UIElements · UnityEngine.UIElementsModule

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

A multi-column view's columns, in their order and in the order they're shown.

Properties 8

int Count { get; }
bool IsReadOnly { get; }
string primaryColumnName { get; set; }
bool reorderable { get; set; }
bool resizable { get; set; }
bool resizePreview { get; set; }
StretchMode stretchMode { get; set; }
Column this[int index] { get; }
Column? this[string name] { get; }

Methods 11

void Add(Column item)
void Clear()
bool Contains(Column item)
bool Contains(string name)
void CopyTo(Column[] array, int arrayIndex)
IEnumerator<Column> GetEnumerator()
int IndexOf(Column column)
void Insert(int index, Column column)
bool IsPrimary(Column column)

The primary column: the one named primaryColumnName, else the first.

bool Remove(Column column)
void RemoveAt(int index)
void ReorderDisplay(int from, int to)

Moves a column in the order shown (its index among the columns stays).

Events 1

event EventHandler<BindablePropertyChangedEventArgs>? propertyChanged