Loading
The RichTextBox class in C# represents a WPF Rich TextBox. This tutorial shows you how to create and use a RichTextBox control using C# and XAML. How to select and replace text from WPF RichTextBox. How to change background color and foreground color of text in a RichTextBox. How to load a text file in a RichTextBox control. Spelling check in a RichTextBox.
Editorial changes — reviews, status changes and edits — are shown to the author of this article and to the editors.