Text Input Controls
In recent articles in the WPF tutorial we've examined some controls that permit the user to enter text. These were the TextBox, PasswordBox and RichTextBox controls. The TextBox control is useful for accepting small amounts of plain text. PasswordBox is ideal for passwords and other secure data. The RichTextBox control allows for much more complex text, including entire documents, with formatting and inserted images.
As with the WPF layout controls and WPF information controls, let's now add these controls and their base classes to the the inheritance hierarchy of the WPF controls. Understanding this hierarchy is important to fully appreciate the use of the controls and their methods, properties and events.
Class Hierarchy
The updated type hierarchy is as follows:
In the following articles we'll examine the newly added base class, TextBoxBase. As with earlier articles, the examination of this class will not be exhaustive. We'll concentrate on the more commonly used members of the type.
26 March 2014