<ColorPicker> (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 更新プログラムおよび Microsoft Dynamics CRM 2016 (設置型).

構文

<ColorPicker
 Command="String"
 CommandPreview="String"
 CommandRevert="String"
 Id="String"
 QueryCommand="String"
 Sequence="Integer"
 TemplateAlias="String" >
 <Colors />
</ColorPicker>

属性と要素

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

属性

Attribute Description Type Usage

Command

このコントロールのリボン コマンドの ID を指定します。

String

Optional

CommandPreview

コントロールを選択する前にそのコントロールにカーソルを置くときに実行するリボン コマンドの ID を指定します。

String

Optional

CommandRevert

ユーザーが undo を選択するときに実行するリボン コマンドの ID を指定します。

String

Optional

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

Sequence の値を既存のリボン要素よりも大きく、または小さく設定することによってリボンの変更の場所を指定します。

Integer

Optional

TemplateAlias

Layout 要素の子の中の場所のプレースホルダーに CommandUIDefinition のリボン要素の子を関連付けます。この値は、レイアウトが変更されたときにコントロールのグループ内でコントロールが表示される場所を定義します。

String

Optional

下位要素

Element Description

<Colors> (RibbonDiffXml)

カラー ピッカー コントロールの色のコレクションを指定します。

親要素

Element Description

<CommandUIDefinition> (RibbonDiffXml)

CustomAction 要素内に収まる、表示可能な Ribbon 要素を指定します。

<Controls> (RibbonDiffXml)

コントロールのコレクションを格納します。

要素情報

XPath

//RibbonDiffXml/CustomActions/CustomAction/CommandUIDefinition/ColorPicker |
//RibbonDiffXml/CustomActions/CustomAction/CommandUIDefinition/Controls/ColorPicker |
//RibbonDiffXml/CustomActions/CustomAction/CommandUIDefinition/Menu/MenuSection/Controls/ColorPicker

Schema Name

ColorPickerType

Validation File

RibbonWSS.xsd

Can be Empty

Yes

関連項目

他のリソース

コマンドおよびリボンをカスタマイズする
Ribbon XML reference

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