<Unit> (RibbonDiffXml)

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

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

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright