NumericSpinner Class
Control to implement the ability to increase and decrease numeric values using
a 'NumericUpDown' style control.
1. Add a namespace attribute to the root element of the markup file it is to be used in:
xmlns:cc="clr-namespace:Common.Wpf.Controls;assembly=Common.Wpf.Controls"
2. Define the control specifying the minimum and maximum values:
<cc:NumericSpinner MinValue="0" MaxValue="140"... />
Decimals | Gets or sets the number of decimals to display. The default is zero. |
IsErrorShown | Gets or sets whether error messages are shown to the user below the control.
The default is . |
MaxValue | Gets or sets the maximum value allowed. The default is decimal maximum. |
MinValue | Gets or sets the minimum value allowed. The default is decimal minimum. |
Step | Gets or sets the increase/decrease value whenever a button is used.
The default is one. |