Banner Text Support in Windows Forms Integer TextBox

28 Apr 20211 minute to read

The IntegerTextBox control can display banner text in the text field, at run time. A BannerTextProvider should be available for this purpose. Also, we need to set AllowNull, NullString and Text properties as below, to make this feature effective.

this.integerTextBox1.AllowNull = true;
this.integerTextBox1.NullString = "";
this.integerTextBox1.Text = "";
Me.integerTextBox1.AllowNull = True
Me.integerTextBox1.NullString = ""
Me.integerTextBox1.Text = ""