Share via


Command.SmallImages 속성

이미지의 컨테이너를 나타냅니다. 이 경우 작은 이미지입니다.

사용량

<Command.SmallImages>
  child elements
</Command.SmallImages>

특성

특성이 없습니다.

자식 요소

요소 Description
이미지
한 번 이상 발생할 수 있음

부모 요소

요소
명령

설명

선택 사항입니다.

명령에 대해 최대 한 번 발생할 수 있습니다.

이미지 리소스는 Windows에서 사용되는 표준 BMP(비트맵) 그래픽 형식을 준수해야 합니다.

예제

다음 예제에서는 MenuGroup 요소가 있는 SplitButton에 대한 기본 태그를 보여 줍니다.

이 코드 섹션에서는 크고 작은 이미지 리소스가 있는 SplitButtonMenuGroup 명령 선언을 보여 줍니다. SplitButton 요소의 부모 컨테이너 역할을 하는 연결된 그룹도 선언됩니다.

<!-- SplitButton -->
<Command Name="cmdSplitButtonGroup"
         Symbol="cmdSplitButtonGroup"
         Comment="SplitButton Group"
         LabelTitle="SplitButton"/>
<Command Name="cmdSplitButton"
         Symbol="cmdSplitButton"
         Comment="SplitButton"
         LabelTitle="SplitButton"/>
<Command Name="cmdSBButtonItem"
         Symbol="cmdSBButtonItem"
         Comment="SBButtonItem"
         LabelTitle="SB ButtonItem"/>
<Command Name="cmdSBButton1"
         Symbol="cmdSBButton1"
         Comment="SBButton1"
         LabelTitle="SB Button">
  <Command.LargeImages>
    <Image Source="res/copyL_32.bmp"/>
  </Command.LargeImages>
  <Command.SmallImages>
    <Image Source="res/copyS_16.bmp"/>
  </Command.SmallImages>
  <Command.LargeHighContrastImages>
    <Image Source="res/copyLHC_32.bmp"/>
  </Command.LargeHighContrastImages>
  <Command.SmallHighContrastImages>
    <Image Source="res/copySHC_16.bmp"/>
  </Command.SmallHighContrastImages>
</Command>
<Command Name="cmdSBMajorItems"
         Comment="Major Items Category"
         LabelTitle="Major Items"/>
<Command Name="cmdSBStandardItems"
         Comment="Standard Items Category"
         LabelTitle="Standard Items"/>

요구 사항

요구 사항
지원되는 최소 클라이언트
Windows 7 [데스크톱 앱만 해당]
지원되는 최소 서버
Windows Server 2008 R2 [데스크톱 앱만 해당]

추가 정보

리본 이미지 리소스 지정

UI_PKEY_SmallImage