一.简单实例 //TextSelect继承自TextRange TextSelection selection = richTextBox.Selection; //1.获取选中内容 string result = selection.Text; MessageBox.Show(result); 二.内容转自:WPF: 从TextSelection中获取Inline并且考虑部分选择的Run FlowDocument的容器,比如RichTextBox,FlowDocumentReader,Flow…