2 implementations of GetRectangleFromTextPosition
PresentationFramework (2)
MS\Internal\Documents\TextBoxView.cs (1)
625
Rect ITextView.
GetRectangleFromTextPosition
(ITextPointer position)
MS\Internal\Documents\TextViewBase.cs (1)
475
Rect ITextView.
GetRectangleFromTextPosition
(ITextPointer position)
44 references to GetRectangleFromTextPosition
PresentationFramework (44)
MS\Internal\Annotations\Anchoring\TextSelectionHelper.cs (1)
316
Rect rect = textView.
GetRectangleFromTextPosition
(pointer);
MS\Internal\Documents\DocumentGrid.cs (3)
1830
MakeRectVisible(TextView.
GetRectangleFromTextPosition
(tp), false /* alwaysCenter */);
2610
Rect selectionRect = TextView.
GetRectangleFromTextPosition
(tp);
2868
MakeRectVisible(TextView.
GetRectangleFromTextPosition
(
MS\Internal\Documents\DocumentPageTextView.cs (1)
231
Rect rect = _pageTextView.
GetRectangleFromTextPosition
(position);
MS\Internal\Documents\DocumentViewerHelper.cs (1)
417
Rect positionRect = textView.
GetRectangleFromTextPosition
(contextMenuPosition);
MS\Internal\Documents\TextBoxView.cs (2)
623
/// <see cref="ITextView.
GetRectangleFromTextPosition
"/>
683
return ((ITextView)this).
GetRectangleFromTextPosition
(position);
MS\Internal\Documents\TextParagraphView.cs (1)
81
/// <see cref="ITextView.
GetRectangleFromTextPosition
"/>
MS\Internal\Documents\TextViewBase.cs (2)
40
/// <see cref="ITextView.
GetRectangleFromTextPosition
"/>
473
/// <see cref="ITextView.
GetRectangleFromTextPosition
"/>
System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
852
Rect rect = textView.
GetRectangleFromTextPosition
(contentPosition);
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
1589
rect = TextEditor.GetTextView(this.RenderScope).
GetRectangleFromTextPosition
(position);
System\Windows\Documents\CompositionAdorner.cs (4)
498
_startRect = _textView.
GetRectangleFromTextPosition
(start);
499
_endRect = _textView.
GetRectangleFromTextPosition
(end);
616
Rect startRect = _textView.
GetRectangleFromTextPosition
(startLinePointer);
617
Rect endRect = _textView.
GetRectangleFromTextPosition
(endLinePointer);
System\Windows\Documents\ImmComposition.cs (6)
669
rectStart = view.
GetRectangleFromTextPosition
(startPosition);
670
rectEnd = view.
GetRectangleFromTextPosition
(endPosition);
671
rectCaret = view.
GetRectangleFromTextPosition
(caretPosition);
777
rectCaret = view.
GetRectangleFromTextPosition
(_editor.Selection.End.CreatePointer(LogicalDirection.Backward));
1663
rectCurrent = view.
GetRectangleFromTextPosition
(positionCurrent);
1680
rectNext = view.
GetRectangleFromTextPosition
(positionNext);
System\windows\Documents\TextEditorDragDrop.cs (1)
427
Rect caretRectangle = this.TextView.
GetRectangleFromTextPosition
(dragPosition);
System\windows\Documents\TextEditorMouse.cs (4)
539
Rect targetRect = This.TextView.
GetRectangleFromTextPosition
(snappedCursorPosition);
545
Rect targetRect = This.TextView.
GetRectangleFromTextPosition
(snappedCursorPosition);
755
Rect uiElementFirstEdgeRect = This.TextView.
GetRectangleFromTextPosition
(mouseMovePosition);
756
Rect uiElementSecondEdgeRect = This.TextView.
GetRectangleFromTextPosition
(otherEdgePosition);
System\windows\Documents\TextEditorSelection.cs (6)
631
Rect targetRect = This.TextView.
GetRectangleFromTextPosition
(movingPosition);
745
Rect targetRect = This.TextView.
GetRectangleFromTextPosition
(movingPosition);
1459
Rect targetRect = This.TextView.
GetRectangleFromTextPosition
(movingPosition);
1555
Rect targetRect = This.TextView.
GetRectangleFromTextPosition
(movingPosition);
2287
suggestedY = This.TextView.
GetRectangleFromTextPosition
(position).Y;
2457
double x = textview.
GetRectangleFromTextPosition
(position).X;
System\Windows\Documents\TextPointerBase.cs (1)
882
Rect rect = textView.
GetRectangleFromTextPosition
(thisPointer.CreatePointer(direction));
System\windows\Documents\TextSelection.cs (5)
1956
Rect objectEdgeRect = this.TextView.
GetRectangleFromTextPosition
(cursorPosition);
2279
caretRectangle = focusedTextSelection.TextView.
GetRectangleFromTextPosition
(nextCharacterPosition);
2285
nextCharacterRectangle = focusedTextSelection.TextView.
GetRectangleFromTextPosition
(nextCharacterPosition);
2293
caretRectangle = focusedTextSelection.TextView.
GetRectangleFromTextPosition
(nextCharacterPosition);
2299
nextCharacterRectangle = focusedTextSelection.TextView.
GetRectangleFromTextPosition
(nextCharacterPosition);
System\Windows\Documents\TextStore.cs (4)
996
rectCur = view.
GetRectangleFromTextPosition
(positionCur);
997
rectPrev = view.
GetRectangleFromTextPosition
(positionPrev);
3031
rectCurrent = view.
GetRectangleFromTextPosition
(positionCurrent);
3048
rectNext = view.
GetRectangleFromTextPosition
(positionNext);