다음을 통해 공유


<Gallery> (RibbonDiffXml)

적용 대상: CRM 2016 on-prem, CRM Online

더 이상 사용되지 않습니다. 리본에서 관련 컨트롤의 모음을 표시하는 컨트롤을 지정했습니다. 갤러리에 항목이 너무 많은 경우 모음의 나머지 항목을 창에 표시하기 위한 확장 화살표가 제공됩니다.

중요

This control was deprecated in Microsoft Dynamics CRM 2011. This control will not render with Microsoft Dynamics CRM Online 2016 Update 및 Microsoft Dynamics CRM 2016(온-프레미스).

구문

<Gallery 
 Command="String"
 CommandPreview="String"
 CommandRevert="String"
 ElementDimensions=
 ["Size16by16" | 
  "Size32by32" |
  "Size48by48" |
  "Size64by48" |
  "Size72by96" |
  "Size96by72" |
  "Size96by96" |
  "Size128by128" |
  "Size190by30" |
  "Size190by40" |
  "Size190by50" |
  "Size190by60"]
 Id="String"
 QueryCommand="String"
 Sequence="Integer"
 Width="Integer" >
 <GalleryButton />
</Gallery>

특성 및 요소

The following table lists the attributes, child elements, and parent elements.

특성

Attribute Description Type Usage

Command

이 컨트롤에 대한 리본 명령의 ID를 지정합니다.

String

Optional

CommandPreview

컨트롤을 선택하기 전에 컨트롤 위로 커서를 이동할 때 실행할 리본 명령의 ID를 지정합니다.

String

Optional

CommandRevert

사용자가 실행 취소를 선택할 때 실행할 리본 명령의 ID를 지정합니다.

String

Optional

ElementDimensions

갤러리 또는 GalleryButton 요소의 크기를 제어합니다.

Valid values:

  • Size16by16

  • Size32by32

  • Size48by48

  • Size64by48

  • Size72by96

  • Size96by72

  • Size96by96

  • Size128by128

  • Size190by30

  • Size190by40

  • Size190by50

  • Size190by60

Enumeration

Required

Id

리본 요소의 정의에 대한 고유 식별자를 지정합니다. 적극 권장되는 명명 규칙은 [solution identifier].[entity].[ribbon].[function].[element name]과 같이 마침표를 사용하여 이름의 부분을 분리하는 것입니다. 예를 들면 MyISV.account.form.SendToOtherSystem.Button과 같습니다.

Use the {!EntityLogicalName} token in the Id attribute when you define a ribbon element that will be used for multiple entities. This inserts the entity logical name into the Id value to make sure that the Id value is globally unique.

For example, if you use MyISV.{!EntityLogicalName}.form.SendToOtherSystem.Button with the account entity, the Id will be MyISV.account.form.SendToOtherSystem.Button. For the contact entity, the Id will be MyISV.contact.form.SendToOtherSystem.Button.

중요

If you don’t set a globally unique Id value, the ribbon might not display.

String

Required

QueryCommand

상태 정보를 폴링할 때 실행할 명령의 이름을 지정합니다.

String

Optional

Sequence

기존 리본 요소보다 높거나 낮은 시퀀스 값을 설정하여 리본 수정 위치를 지정합니다.

Integer

Optional

Width

원하는 컨트롤 너비를 픽셀 단위로 지정합니다.

Integer

Required

하위 요소

Element Description

<GalleryButton> (RibbonDiffXml)

더 이상 사용되지 않습니다. 갤러리 요소 내에서 단추 컨트롤을 지정했습니다.

상위 요소

Element Description

<CommandUIDefinition> (RibbonDiffXml)

CustomAction 요소 내에 포함될 시각적 리본 요소를 지정합니다.

<MenuSection> (RibbonDiffXml)

메뉴를 분리하는 데 사용되는 섹션을 지정합니다. 메뉴 섹션에는 제목이 있을 수 있으며 컨트롤이 포함될 수 있습니다.

요소 정보

XPath

//RibbonDiffXml/CustomActions/CustomAction/CommandUIDefinition/Gallery |
//RibbonDiffXml/CustomActions/CustomAction/CommandUIDefinition/MenuSection/Gallery |
//Menu/MenuSection/Gallery

Schema Name

GalleryType

Validation File

RibbonWSS.xsd

Can be Empty

No

참고 항목

기타 리소스

Ribbon XML reference
명령 및 리본 사용자 지정

Microsoft Dynamics CRM 2016 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.