跳到主要内容
版本:2.3.x

Class ReportHeader

Assembly: YooAsset.Editor.dll​
Declaration
[Serializable]
public class ReportHeader

Fields​

MaxValue​

Declaration
public const int MaxValue = 8388608

HeaderTitle​

标题

Declaration
public string HeaderTitle

Width​

标题宽度

Declaration
public int Width

MinWidth​

单元列最小宽度

Declaration
public int MinWidth

MaxWidth​

单元列最大宽度

Declaration
public int MaxWidth

Stretchable​

可伸缩选项

Declaration
public bool Stretchable

Searchable​

可搜索选项

Declaration
public bool Searchable

Sortable​

可排序选项

Declaration
public bool Sortable

Counter​

统计数量

Declaration
public bool Counter

Units​

展示单位

Declaration
public string Units

HeaderType​

数值类型

Declaration
public EHeaderType HeaderType

Methods​

SetMinWidth(int)​

Declaration
public ReportHeader SetMinWidth(int value)
Returns​

YooAsset.Editor.ReportHeader

Parameters​
TypeName
System.Int32value

SetMaxWidth(int)​

Declaration
public ReportHeader SetMaxWidth(int value)
Returns​

YooAsset.Editor.ReportHeader

Parameters​
TypeName
System.Int32value

SetStretchable()​

Declaration
public ReportHeader SetStretchable()
Returns​

YooAsset.Editor.ReportHeader

SetSearchable()​

Declaration
public ReportHeader SetSearchable()
Returns​

YooAsset.Editor.ReportHeader

SetSortable()​

Declaration
public ReportHeader SetSortable()
Returns​

YooAsset.Editor.ReportHeader

SetCounter()​

Declaration
public ReportHeader SetCounter()
Returns​

YooAsset.Editor.ReportHeader

SetUnits(string)​

Declaration
public ReportHeader SetUnits(string units)
Returns​

YooAsset.Editor.ReportHeader

Parameters​
TypeName
System.Stringunits

SetHeaderType(EHeaderType)​

Declaration
public ReportHeader SetHeaderType(EHeaderType value)
Returns​

YooAsset.Editor.ReportHeader

Parameters​
TypeName
YooAsset.Editor.EHeaderTypevalue

CheckValueValid(string)​

检测数值有效性

Declaration
public void CheckValueValid(string value)
Parameters​
TypeName
System.Stringvalue