Have you tried google?
http://www.c-sharpcorner.com/uploadfile/mahesh/loading-a-text-file-in-a-wpf-flowdocumentreader/
Convert XAML to FlowDocument to display in RichTextBox in WPF
Вопрос
How can i load a .txt file as FlowDocument
to put it in a RichTextBox
?
Другие советы
The following is a pretty simple method.
using (var fs = new FileStream(FileName, FileMode.OpenOrCreate))
{
var range = new TextRange(Document.ContentStart, Document.ContentEnd);
range.Load(fs, DataFormats.Text);
}