This article has move here: WPF RichTextBox Control Tutorial
The following code snippet creates RichTextBox in XAML.