您可以将CaretPosition与当前进行比较Selection以确定选择文本的方向:TextPointer caretPos = richTextBox.CaretPosition;TextPointer selectStart = richTextBox.Selection.Start;TextPointer selectEnd = richTextBox.Selection.End;if(caretPos.CompareTo(selectStart) == 0){ //The text was selected from right to left.}else if(caretPos.CompareTo(selectEnd) == 0){ //The text was selected from left to right.}