次の方法で共有


<Spinner> (RibbonDiffXml)

適用対象: CRM 2015 on-prem, CRM Online

値を入力するか、方向キーを使用して値を切り替えることによって値を挿入するために使用するコントロールを指定します。

構文

<Spinner
 AccelerationInterval="Integer"
 AltDownArrow="String"
 AltUpArrow="String"
 Command="String"
 DefaultUnit="String"
 DefaultValue="Decimal"
 Id="String"
 ImeEnabled=["0" | "1" | "true" | "false"]
 MultiplierInterval="Integer"
 QueryCommand="String"
 Sequence="Integer"
 TemplateAlias="String"
 ToolTipDescription="String"
 ToolTipHelpKeyWord="String"
 ToolTipImage32by32="String"
 ToolTipImage32by32Class="String"
 ToolTipImage32by32Left="Non Positive Integer"
 ToolTipImage32by32Top="Non Positive Integer"
 ToolTipShortcutKey="String"
 ToolTipTitle="String" >
 <Unit />
</Spinner>

属性と要素

The following describes the attributes, child elements, and parent elements.

属性

Attribute Description Type Usage

AccelerationInterval

Specifies how much the value increases or decreases when you maintain focus on the up or down button.

Integer

Optional

AltDownArrow

Alternative text that is used for the decrement arrow.

String

Optional

AltUpArrow

Alternative text that is used for the increment arrow.

String

Optional

Command

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

String

Optional

DefaultUnit

The name or abbreviation for the default <Unit> (RibbonDiffXml).

String

Optional

DefaultValue

Specifies the initial numeric value that is displayed in the control.

Decimal

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

ImeEnabled

入力方式エディター (IME) のアクティブ状態が有効かどうかを指定します。IME を使用すると、中国語、日本語、および韓国語の文字の入力と編集ができます。IME はアクティブ状態または非アクティブ状態にすることができます。アクティブ状態では、中国語、日本語、または韓国語の文字を使用できます。非アクティブ状態では、通常のキーボードと同じように動作し、限られた文字セットが使用されます。

Boolean

Optional

MultiplierInterval

Specifies a factor by which to increase the speed of incrementing or decrementing the value when focus is maintained on the up or down arrow.

Integer

Optional

QueryCommand

状態情報をポーリングするときに実行するコマンドの名前を指定します。

String

Optional

Sequence

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

Integer

Optional

TemplateAlias

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

String

Optional

ToolTipDescription

コントロールのツールヒントに表示する文字列を指定します。$LocLabels: ディレクティブを使用すると、LocLabel 要素を参照できます。たとえば、"$LocLabels:MyISV.account.Save.Button.Tooltip" のように指定します。

String

Optional

ToolTipHelpKeyWord

この要素は Microsoft Dynamics CRM で使用されません。

String

Optional

ToolTipImage32by32

ツールヒントに表示する 32 x 32 ピクセルのイメージを指定します。

String

Optional

ToolTipImage32by32Class

ツールヒントに表示する 32 x 32 ピクセルのイメージに適用する CSS クラスを指定します。

String

Optional

ToolTipImage32by32Left

ツールヒントの 32 x 32 ピクセルのイメージを左に移動するためのピクセル数を指定します。これは負の数で表されます。

Non positive Integer

Optional

ToolTipImage32by32Top

ツールヒントの 32 x 32 ピクセルのイメージを先頭に移動するためのピクセル数を指定します。これは負の数で表されます。

Non positive Integer

Optional

ToolTipShortcutKey

この要素は Microsoft Dynamics CRM で使用されません。

String

Optional

ToolTipTitle

コントロールのツールヒントのタイトルに表示する文字列を指定します。通常、これは LabelText コントロールと同じ値です。$LocLabels: ディレクティブを使用すると、LocLabel 要素を参照できます。たとえば、"$LocLabels:MyISV.account.Save.Button.Label" のように指定します。

String

Optional

下位要素

Element Description

<Unit> (RibbonDiffXml)

スピン ボックス コントロール内の単位を指定します。

親要素

Element Description

<CommandUIDefinition> (RibbonDiffXml)

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

<Controls> (RibbonDiffXml)

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

要素情報

XPath

//RibbonDiffXml/CustomActions/CustomAction/CommandUIDefinition/Spinner
//Controls/Spinner

Schema Name

SpinnerType

Validation File

RibbonWSS.xsd

Can be Empty

No

関連項目

他のリソース

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

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