Class TableColumn
表格列定义
Assembly: YooAsset.Editor.dll
View Source
Declaration
public class TableColumn
Properties
ElementName
UI元素名称
View Source
Declaration
public string ElementName { get; }
HeaderTitle
标题名称
View Source
Declaration
public string HeaderTitle { get; }
ColumnStyle
单元列样式
View Source
Declaration
public ColumnStyle ColumnStyle { get; }
MakeCell
制作单元格元素
View Source
Declaration
public Func<VisualElement> MakeCell { get; set; }
BindCell
绑定数据到单元格
View Source
Declaration
public Action<VisualElement, ITableData, ITableCell> BindCell { get; set; }