<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.