WPF RichTextBox Control


The RichTextBox control is a more advanced TextBox that can contain formatted text and arbitrary objects embedded in the text. RichTextBox and TextBox share the same base class, TextBoxBase. What does that mean? Many of the features that TextBox has also apply to RichTextBox. RichTextBox’s content is stored in a Document property of type FlowDocument rather than the simple string Text property.