다음을 통해 공유


Buttons 요소

개별 명령을 나타내는 Button 요소를 그룹화합니다.

구문

<Buttons>
  <Button>... </Button>
  <Button>... </Button>
</Buttons>

특성 및 요소

다음 단원에서는 특성, 자식 요소 및 부모 요소에 대해 설명합니다.

특성

특성 설명
조건 선택 사항. 조건부 특성을 참조하세요.

자식 요소

요소 설명
Buttons 요소 Button 요소를 그룹화합니다.
Button 요소 사용자가 상호 작용할 수 있는 명령을 정의합니다.

부모 요소

요소 설명
Commands 요소 VSPackage 도구 모음의 명령 컬렉션을 나타냅니다.

예시

<Buttons>
  <Button guid="guidMenuAndCommandsCmdSet" id="cmdidMyCommand"     priority="0x100" type="Button">
    <Parent guid="guidMenuAndCommandsCmdSet" id="MyMenuGroup"/>
    <Icon guid="guidGenericCmdBmp" id="bmpArrow"/>
    <Strings>
      <ButtonText>C# Command Sample</ButtonText>
    </Strings>
  </Button>
</Buttons>

참고 항목