Compartilhar via


<Unit> (RibbonDiffXml)

 

Applies To: Dynamics CRM 2013

Specifies a unit in a spinner control.

Syntax

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

Attributes and Elements

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

Attributes

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

Represents the name of a query string parameter passed for this value when using a Url element.

String

Required

Child Elements

Element

Description

<UnitAbbreviation> (RibbonDiffXml)

Specifies an abbreviation for a unit.

Parent Elements

Element

Description

<Spinner> (RibbonDiffXml)

Specifies a control used to insert a value by typing or using the arrow keys to cycle through the values.

Element Information

XPath

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

Schema Name

UnitType

Validation File

RibbonWSS.xsd

Can be Empty

No

See Also

Ribbon XML reference
Customize commands and the ribbon