<Unit> (RibbonDiffXml)

 

Updated: November 29, 2016

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

Specifies a unit in a spinner control.

<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

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

ADD
Show: