Version

NumericType Property

Returns or sets the type of numeric data the control supports.
Syntax
'Declaration
 
Public Property NumericType As Infragistics.Win.UltraWinEditors.NumericType
public Infragistics.Win.UltraWinEditors.NumericType NumericType {get; set;}
Remarks

The control will support either integer or double-precision decimal numeric entry.

Example
This sample sets the Min and Max values of the numeric editor as well as the initial value in the forms load event. It also sets the corresponding properties to allow the text to be nullable. At which point the string "empty" will appear in the text portion. It sets the input mask, and the type to double.

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

Me.UltraCurrencyEditor1.MaxValue = 10000
Me.UltraCurrencyEditor1.MinValue = 0
Me.UltraCurrencyEditor1.Value = 500
Me.UltraNumericEditor1.Nullable = True 
Me.UltraNumericEditor1.NullText = "empty"
Me.UltraNumericEditor1.MaskInput = "####"
Me.UltraNumericEditor1.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double

 End Sub
private void Form1_Load(object sender, System.EventArgs e)
  {

	this.UltraCurrencyEditor1.MaxValue = 10000;
	this.UltraCurrencyEditor1.MinValue = 0;
	this.UltraCurrencyEditor1.Value = 500;
	this.UltraNumericEditor1.Nullable = true ;
	this.UltraNumericEditor1.NullText = "empty";
	this.UltraNumericEditor1.MaskInput = "####";
	this.UltraNumericEditor1.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;

}
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also