how do i get the richtext box's content with all the formatting intact. i used a TextRange object to get the content out of the richtext box but wen i get its .text property all its formatting is gone ... how do i get the forma开发者_如何学运维tted content in richtext box in wpf.
RichTextBox operates on FlowDocuments. You can get underlying FlowDocument from RichTextBox.Document property.
精彩评论