EDescriptions 描述列表
示例与代码
跨列、跨行、纵向标签与额外内容
描述列表
属性
属性说明取值与默认值
borderbool是否显示边框。
默认值
truecolumnsint布局的列数。
正整数
默认值
3directionstring组件的排列方向。
"horizontal" / "vertical"
默认值
"horizontal"enabledbool是否允许交互;false 时控件禁用。
默认值
trueextrastring额外操作区文字。
默认值
""extraDelegateComponent自定义额外操作区的 Component 插槽;null 使用默认内容。 委托上下文见本页示例。
默认值
nullheightreal组件尺寸,单位为像素;可绑定父布局尺寸。
默认值
implicitHeightlabelDelegateComponent自定义标签文字的 Component 插槽;null 使用默认内容。 委托上下文见本页示例。
默认值
nulllabelWidthreal标签宽度,单位为像素。
默认值
112modelvar描述项的数据数组。
字段:
label, value, span
rowspan, width, minWidth
labelWidth, align, labelAlign
labelDelegate, valueDelegate
默认值
[]sizeint控件尺寸;默认继承最近的 EConfigProvider。
EStyle.SmallEStyle.MediumEStyle.Large
默认值
继承 Provider,默认 EStyle.Mediumtitlestring标题文字。
默认值
""titleDelegateComponent自定义标题的 Component 插槽;null 使用默认内容。 委托上下文见本页示例。
默认值
nullvalueDelegateComponent自定义描述项值的 Component 插槽;null 使用默认内容。 委托上下文见本页示例。
默认值
nullvisiblebool是否显示组件。
默认值
truewidthreal组件尺寸,单位为像素;可绑定父布局尺寸。
默认值
implicitWidthcolumnMetricsvar只读计算后的列宽及位置数据。
默认值
由运行时计算