21 references to LogicalDirection
PresentationFramework (21)
src\Framework\System\Windows\Controls\FlowDocumentReader.cs (1)
2023
cpDirection = contentPosition.
LogicalDirection
;
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
1959
cpDirection = contentPosition.
LogicalDirection
;
src\Framework\System\Windows\Controls\RichTextBox.cs (3)
238
return this.TextEditor.GetSpellingErrorAtPosition(position, position.
LogicalDirection
);
257
SpellingError spellingError = this.TextEditor.GetSpellingErrorAtPosition(position, position.
LogicalDirection
);
595
Selection.SetCaretToPosition(value, value.
LogicalDirection
, /*allowStopAtLineEnd:*/true, /*allowStopNearSpace:*/false);
src\Framework\System\Windows\Controls\SinglePageViewer.cs (1)
1551
cpDirection = contentPosition.
LogicalDirection
;
src\Framework\System\Windows\Controls\TextBox.cs (4)
234
return (textPointer.
LogicalDirection
== LogicalDirection.Backward) ? offset - 1 : offset;
1411
rect = TextPointerBase.GetCharacterRect(position, position.
LogicalDirection
, relativeToTextBox);
1441
textPointer = (TextPointer)TextEditor.GetTextView(this.RenderScope).GetLineRange(textPointer).Start.CreatePointer(textPointer.
LogicalDirection
);
1470
textPointer = (TextPointer)TextEditor.GetTextView(this.RenderScope).GetLineRange(textPointer).End.CreatePointer(textPointer.
LogicalDirection
);
src\Framework\System\Windows\Documents\TextContainer.cs (1)
1612
if (!_rootNode.CaretUnitBoundaryCache && position.
LogicalDirection
== LogicalDirection.Backward)
src\Framework\System\Windows\Documents\TextPointer.cs (5)
47
/// <see cref="TextPointer.
LogicalDirection
"/> property.</para>
886
return GetPositionAtOffset(offset, this.
LogicalDirection
);
2590
return ((ITextPointer)this).CreatePointer(0, this.
LogicalDirection
);
2603
return ((ITextPointer)this).CreatePointer(offset, this.
LogicalDirection
);
3708
return this.
LogicalDirection
;
src\Framework\System\Windows\Documents\TextRangeEditTables.cs (3)
717
position = position.GetInsertionPosition(position.
LogicalDirection
);
911
insertionPosition = implicitRun.ContentStart.GetFrozenPointer(position.
LogicalDirection
); // return a position with the same orientation inside a Run
926
insertionPosition = implicitRun.ContentStart.GetFrozenPointer(position.
LogicalDirection
); // return a position with the same orientation inside a Run
src\Framework\System\windows\Documents\TextSelection.cs (2)
1556
Invariant.Assert(this.Start.
LogicalDirection
== LogicalDirection.Backward);
1557
Invariant.Assert(this.End.
LogicalDirection
== LogicalDirection.Forward);