Microsoft.Common.Section UI 要素

見出しの下の 1 つまたは複数の要素をグループ化するコントロールです。

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 には少なくとも 1 つの要素を含める必要があります。ここには Microsoft.Common.Section 以外のすべての種類の要素を含めることができます。
  • この要素は toolTip プロパティをサポートしていません。

サンプル出力

elements 内の要素の出力値にアクセスするには、basics() または steps() 関数とドット表記を使用します。

steps('configuration').section1.text1

Microsoft.Common.Section という種類の要素には、それ自体の出力値はありません。

次のステップ