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
Parameters
Type | Name |
---|---|
System.Int32 | value |
SetMaxWidth(int)
Declaration
public ReportHeader SetMaxWidth(int value)
Returns
Parameters
Type | Name |
---|---|
System.Int32 | value |
SetStretchable()
Declaration
public ReportHeader SetStretchable()
Returns
SetSearchable()
Declaration
public ReportHeader SetSearchable()
Returns
SetSortable()
Declaration
public ReportHeader SetSortable()
Returns
SetCounter()
Declaration
public ReportHeader SetCounter()
Returns
SetUnits(string)
Declaration
public ReportHeader SetUnits(string units)
Returns
Parameters
Type | Name |
---|---|
System.String | units |
SetHeaderType(EHeaderType)
Declaration
public ReportHeader SetHeaderType(EHeaderType value)
Returns
Parameters
Type | Name |
---|---|
YooAsset.Editor.EHeaderType | value |
CheckValueValid(string)
检测数值有效性
Declaration
public void CheckValueValid(string value)
Parameters
Type | Name |
---|---|
System.String | value |