Me.UltraMaskedEdit1.EditAs = Infragistics.Win.UltraWinMaskedEdit.EditAsType.Double Me.UltraMaskedEdit1.SpinIncrement = 25
The WinMaskedEdit™ control allows your end user to change a value incrementally with the arrow keys and the spin buttons.
In order to increment by values other than one you will need to set the SpinIncrement property to a non-negative, rational value. Since WinMaskedEdit can edit different data types, you will also need to set the EditAs property to a type matching the one chosen for the SpinIncrement property.
The following example code demonstrates how to increment WinMaskedEdit’s Value as a Double by 25.
In Visual Basic:
Me.UltraMaskedEdit1.EditAs = Infragistics.Win.UltraWinMaskedEdit.EditAsType.Double Me.UltraMaskedEdit1.SpinIncrement = 25
In C#:
this.ultraMaskedEdit1.EditAs = Infragistics.Win.UltraWinMaskedEdit.EditAsType.Double; this.ultraMaskedEdit1.SpinIncrement = 25;