Microsoft.Common.Section UI 元素

一个控件,用于对标题下的一个或多个元素进行分组。

UI 示例

包含标题和分组元素的 Microsoft.Common.Section UI 元素的屏幕截图。

图式

{
  "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 元素本身没有输出值。

后续步骤