Share via


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 형식의 요소에는 출력 값 자체가 없습니다.

다음 단계