分享方式:


<Unit> (RibbonDiffXml)

適用於: CRM 2015 on-prem, CRM Online

指定微調按鈕控制項中的單位。

語法

<Unit
 DecimalDigits="Integer"
 Interval="Double"
 MaximumValue="Decimal"
 MinimumValue="Decimal"
 Name="String">
 <UnitAbbreviation />
</Unit>

屬性和元素

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

屬性

Attribute Description Type Usage

DecimalDigits

The number of decimal digits to display.

Integer

Required

Interval

The amount by which the value should be incremented or decremented.

Double

Required

MaximumValue

The maximum acceptable value.

Decimal

Required

MinimumValue

The minimum acceptable value.

Decimal

Required

Name

代表使用 Url 元素時為此值傳遞的查詢字串參數名稱。

String

Required

子元素

Element Description

<UnitAbbreviation> (RibbonDiffXml)

指定單位的縮寫。

上層元素

Element Description

<Spinner> (RibbonDiffXml)

指定控制項,藉由輸入或使用方向鍵循環選擇值來插入值。

元素資訊

XPath

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

Schema Name

UnitType

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.