9.3. Text controls

The TextBoxBase class serves as a base class for two Windows controls – TextBox and RichTextBox (see Figure 9.13). This class implements the basic functionality for the text controls, including text selection, clipboard functionality, multiline text control support, and events.

Figure 9.13. The TextBoxBase class is the source of two other useful controls

Let’s look at the major properties of the TextBoxBase class.

  • AcceptsTab This Boolean property specifies whether the TAB key in a multiline text box control acts as a key to input a TAB character in the control or just moves the focus to the next control in the tab order. ...

Get A Programmer's Guide to .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.