ArcGIS Pro 2.9 API Reference Guide
Spinner Class
Members 

ArcGIS.Desktop.Framework.Contracts Namespace : Spinner Class
Represents a control that can be used to display and edit doubles. This is an abstract class.
Syntax
public abstract class Spinner : PlugIn, System.ComponentModel.INotifyPropertyChanged  
Public MustInherit Class Spinner 
   Inherits PlugIn
   Implements System.ComponentModel.INotifyPropertyChanged 
Remarks

Spinners edit doubles like an edit box except they additionally provide increment and decrement buttons and support a range established with the minimum and maximum attributes. In DAML you can also specify a default value and an increment value. Use the format attribute to specify how to display the double. For example, use 'C' to present a currency or F4 for a double with 4 decimals. In addition, use the suffix attribute to tag on a trailing string such as a '%' sign.

Spinners do not support delay loading with loadOnClick, they are instantiated when they become visible.

DAML attributes
assembly Assembly name if not in the default assembly.
caption The heading.
categoryRefID Adds control to a specific component category.
className Required class identifier. Optionally include namespace if not in default namespace.
condition Automatically disable the button if the condition is not satisfied.
defaultValue The initial value.
disableIfBusy Automatically disable the button if the application is busy. Default true.
extendedCaption A more descriptive title.
format The double format string, e.g. 'C' for currency and F4 to show 4 decimal places. Default is F2.
helpContextID The help topic to show.
id Required identifier.
image Image (16x16) used when spinner is middle and large sized.
increment The amount to add and subtract to the value when the increment and decrement buttons are clicked. Default is 1.0.
maximum The maximum value.
minimum The minimum value.
publicKeyToken The necessary public key token if the assembly is strongly named.
suffix Trailing string such as '%'.
version The version of the dll if the assembly is strongly named.
width The width of the control.

Inheritance Hierarchy

System.Object
   ArcGIS.Desktop.Framework.Contracts.PropertyChangedBase
      ArcGIS.Desktop.Framework.Contracts.PlugIn
         ArcGIS.Desktop.Framework.Contracts.Spinner

Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

Spinner Members
ArcGIS.Desktop.Framework.Contracts Namespace