バージョン

NullText プロパティ (UltraNumericEditor)

null 値の場合にコントロールに表示される文字列を取得または設定します。
シンタックス
'宣言
 
Public Property NullText As String
public string NullText {get; set;}
解説

コントロールの値が null (VB では Nothing) の場合、コントロールはデフォルトで空の文字列を表示します。NullText プロパティによって、開発者は null 値 (たとえば、「(NULL)」または「(none)」) に表示されるテキストを変更できます。

注:UltraNumericEditor コントロールは編集モードのときにマスクを表示するため、編集モードでは NullText プロパティの値は表示されません。

使用例
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;

}
参照