Nota
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
一个将一个或多个元素分组到同一标题下的控件。
{
"name": "section1",
"type": "Microsoft.Common.Section",
"label": "Example section",
"elements": [
{
"name": "text1",
"type": "Microsoft.Common.TextBox",
"label": "Example text box 1"
},
{
"name": "text2",
"type": "Microsoft.Common.TextBox",
"label": "Example text box 2"
}
],
"visible": true
}
elements
必须至少具有一个元素,并且可以具有除Microsoft.Common.Section
之外的所有元素类型。- 此元素不支持
toolTip
属性。
若要访问 elements
中的元素的输出值,请使用 basics() 或 steps() 函数和点表示法:
steps('configuration').section1.text1
Microsoft.Common.Section
类型的元素本身没有输出值。
- 有关创建 UI 定义的简介,请参阅 CreateUiDefinition 入门。
- 有关 UI 元素中的公用属性的说明,请参阅 CreateUiDefinition 元素。