21 references to LogicalDirection
PresentationFramework (21)
System\Windows\Controls\FlowDocumentReader.cs (1)
2012cpDirection = contentPosition.LogicalDirection;
System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
1942cpDirection = contentPosition.LogicalDirection;
System\Windows\Controls\RichTextBox.cs (3)
226return this.TextEditor.GetSpellingErrorAtPosition(position, position.LogicalDirection); 245SpellingError spellingError = this.TextEditor.GetSpellingErrorAtPosition(position, position.LogicalDirection); 577Selection.SetCaretToPosition(value, value.LogicalDirection, /*allowStopAtLineEnd:*/true, /*allowStopNearSpace:*/false);
System\Windows\Controls\SinglePageViewer.cs (1)
1541cpDirection = contentPosition.LogicalDirection;
System\Windows\Controls\TextBox.cs (4)
214return (textPointer.LogicalDirection == LogicalDirection.Backward) ? offset - 1 : offset; 1412rect = TextPointerBase.GetCharacterRect(position, position.LogicalDirection, relativeToTextBox); 1442textPointer = (TextPointer)TextEditor.GetTextView(this.RenderScope).GetLineRange(textPointer).Start.CreatePointer(textPointer.LogicalDirection); 1471textPointer = (TextPointer)TextEditor.GetTextView(this.RenderScope).GetLineRange(textPointer).End.CreatePointer(textPointer.LogicalDirection);
System\Windows\Documents\TextContainer.cs (1)
1592if (!_rootNode.CaretUnitBoundaryCache && position.LogicalDirection == LogicalDirection.Backward)
System\Windows\Documents\TextPointer.cs (5)
40/// <see cref="TextPointer.LogicalDirection"/> property.</para> 870return GetPositionAtOffset(offset, this.LogicalDirection); 2559return ((ITextPointer)this).CreatePointer(0, this.LogicalDirection); 2572return ((ITextPointer)this).CreatePointer(offset, this.LogicalDirection); 3677return this.LogicalDirection;
System\Windows\Documents\TextRangeEditTables.cs (3)
712position = position.GetInsertionPosition(position.LogicalDirection); 906insertionPosition = implicitRun.ContentStart.GetFrozenPointer(position.LogicalDirection); // return a position with the same orientation inside a Run 921insertionPosition = implicitRun.ContentStart.GetFrozenPointer(position.LogicalDirection); // return a position with the same orientation inside a Run
System\windows\Documents\TextSelection.cs (2)
1550Invariant.Assert(this.Start.LogicalDirection == LogicalDirection.Backward); 1551Invariant.Assert(this.End.LogicalDirection == LogicalDirection.Forward);