How to clear contents of a WPF RichTextBox?

You can use RichTextBox.Document.Blocks.Clear to clear a RichTextBox content.

 private void ClearButton_Click(object sender, RoutedEventArgs e)
        {
            RTB.Document.Blocks.Clear();            
        }