21 references to LogicalDirection
PresentationFramework (21)
System\Windows\Controls\FlowDocumentReader.cs (1)
2017cpDirection = contentPosition.LogicalDirection;
System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
1945cpDirection = contentPosition.LogicalDirection;
System\Windows\Controls\RichTextBox.cs (3)
230return this.TextEditor.GetSpellingErrorAtPosition(position, position.LogicalDirection); 249SpellingError spellingError = this.TextEditor.GetSpellingErrorAtPosition(position, position.LogicalDirection); 581Selection.SetCaretToPosition(value, value.LogicalDirection, /*allowStopAtLineEnd:*/true, /*allowStopNearSpace:*/false);
System\Windows\Controls\SinglePageViewer.cs (1)
1544cpDirection = contentPosition.LogicalDirection;
System\Windows\Controls\TextBox.cs (4)
221return (textPointer.LogicalDirection == LogicalDirection.Backward) ? offset - 1 : offset; 1419rect = TextPointerBase.GetCharacterRect(position, position.LogicalDirection, relativeToTextBox); 1449textPointer = (TextPointer)TextEditor.GetTextView(this.RenderScope).GetLineRange(textPointer).Start.CreatePointer(textPointer.LogicalDirection); 1478textPointer = (TextPointer)TextEditor.GetTextView(this.RenderScope).GetLineRange(textPointer).End.CreatePointer(textPointer.LogicalDirection);
System\Windows\Documents\TextContainer.cs (1)
1597if (!_rootNode.CaretUnitBoundaryCache && position.LogicalDirection == LogicalDirection.Backward)
System\Windows\Documents\TextPointer.cs (5)
45/// <see cref="TextPointer.LogicalDirection"/> property.</para> 875return GetPositionAtOffset(offset, this.LogicalDirection); 2564return ((ITextPointer)this).CreatePointer(0, this.LogicalDirection); 2577return ((ITextPointer)this).CreatePointer(offset, this.LogicalDirection); 3682return this.LogicalDirection;
System\Windows\Documents\TextRangeEditTables.cs (3)
714position = position.GetInsertionPosition(position.LogicalDirection); 908insertionPosition = implicitRun.ContentStart.GetFrozenPointer(position.LogicalDirection); // return a position with the same orientation inside a Run 923insertionPosition = implicitRun.ContentStart.GetFrozenPointer(position.LogicalDirection); // return a position with the same orientation inside a Run
System\windows\Documents\TextSelection.cs (2)
1553Invariant.Assert(this.Start.LogicalDirection == LogicalDirection.Backward); 1554Invariant.Assert(this.End.LogicalDirection == LogicalDirection.Forward);