ユーザーがこのプロパティで指定された値よりも大きい値を入力すると、コントロールはフォーカスを失った時に UltraNumericEditorBase.ValidationError イベントが発生します。
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; }