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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.