public abstract class Spinner : PlugIn, System.ComponentModel.INotifyPropertyChanged
Public MustInherit Class Spinner Inherits PlugIn Implements System.ComponentModel.INotifyPropertyChanged
public abstract class Spinner : PlugIn, System.ComponentModel.INotifyPropertyChanged
Public MustInherit Class Spinner Inherits PlugIn Implements System.ComponentModel.INotifyPropertyChanged
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. |
System.Object
ArcGIS.Desktop.Framework.Contracts.PropertyChangedBase
ArcGIS.Desktop.Framework.Contracts.PlugIn
ArcGIS.Desktop.Framework.Contracts.Spinner
Target Platforms: Windows 10, Windows 8.1