2 implementations of GetRectangleFromTextPosition
PresentationFramework (2)
src\Framework\MS\Internal\Documents\TextBoxView.cs (1)
629
Rect ITextView.
GetRectangleFromTextPosition
(ITextPointer position)
src\Framework\MS\Internal\Documents\TextViewBase.cs (1)
477
Rect ITextView.
GetRectangleFromTextPosition
(ITextPointer position)
44 references to GetRectangleFromTextPosition
PresentationFramework (44)
src\Framework\MS\Internal\Annotations\Anchoring\TextSelectionHelper.cs (1)
326
Rect rect = textView.
GetRectangleFromTextPosition
(pointer);
src\Framework\MS\Internal\Documents\DocumentGrid.cs (3)
1869
MakeRectVisible(TextView.
GetRectangleFromTextPosition
(tp), false /* alwaysCenter */);
2653
Rect selectionRect = TextView.
GetRectangleFromTextPosition
(tp);
2919
MakeRectVisible(TextView.
GetRectangleFromTextPosition
(
src\Framework\MS\Internal\Documents\DocumentPageTextView.cs (1)
233
Rect rect = _pageTextView.
GetRectangleFromTextPosition
(position);
src\Framework\MS\Internal\Documents\DocumentViewerHelper.cs (1)
437
Rect positionRect = textView.
GetRectangleFromTextPosition
(contextMenuPosition);
src\Framework\MS\Internal\Documents\TextBoxView.cs (2)
627
/// <see cref="ITextView.
GetRectangleFromTextPosition
"/>
687
return ((ITextView)this).
GetRectangleFromTextPosition
(position);
src\Framework\MS\Internal\Documents\TextParagraphView.cs (1)
88
/// <see cref="ITextView.
GetRectangleFromTextPosition
"/>
src\Framework\MS\Internal\Documents\TextViewBase.cs (2)
42
/// <see cref="ITextView.
GetRectangleFromTextPosition
"/>
475
/// <see cref="ITextView.
GetRectangleFromTextPosition
"/>
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
858
Rect rect = textView.
GetRectangleFromTextPosition
(contentPosition);
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (1)
1618
rect = TextEditor.GetTextView(this.RenderScope).
GetRectangleFromTextPosition
(position);
src\Framework\System\Windows\Documents\CompositionAdorner.cs (4)
500
_startRect = _textView.
GetRectangleFromTextPosition
(start);
501
_endRect = _textView.
GetRectangleFromTextPosition
(end);
618
Rect startRect = _textView.
GetRectangleFromTextPosition
(startLinePointer);
619
Rect endRect = _textView.
GetRectangleFromTextPosition
(endLinePointer);
src\Framework\System\Windows\Documents\ImmComposition.cs (6)
765
rectStart = view.
GetRectangleFromTextPosition
(startPosition);
766
rectEnd = view.
GetRectangleFromTextPosition
(endPosition);
767
rectCaret = view.
GetRectangleFromTextPosition
(caretPosition);
889
rectCaret = view.
GetRectangleFromTextPosition
(_editor.Selection.End.CreatePointer(LogicalDirection.Backward));
1837
rectCurrent = view.
GetRectangleFromTextPosition
(positionCurrent);
1854
rectNext = view.
GetRectangleFromTextPosition
(positionNext);
src\Framework\System\windows\Documents\TextEditorDragDrop.cs (1)
439
Rect caretRectangle = this.TextView.
GetRectangleFromTextPosition
(dragPosition);
src\Framework\System\windows\Documents\TextEditorMouse.cs (4)
541
Rect targetRect = This.TextView.
GetRectangleFromTextPosition
(snappedCursorPosition);
547
Rect targetRect = This.TextView.
GetRectangleFromTextPosition
(snappedCursorPosition);
756
Rect uiElementFirstEdgeRect = This.TextView.
GetRectangleFromTextPosition
(mouseMovePosition);
757
Rect uiElementSecondEdgeRect = This.TextView.
GetRectangleFromTextPosition
(otherEdgePosition);
src\Framework\System\windows\Documents\TextEditorSelection.cs (6)
640
Rect targetRect = This.TextView.
GetRectangleFromTextPosition
(movingPosition);
754
Rect targetRect = This.TextView.
GetRectangleFromTextPosition
(movingPosition);
1468
Rect targetRect = This.TextView.
GetRectangleFromTextPosition
(movingPosition);
1564
Rect targetRect = This.TextView.
GetRectangleFromTextPosition
(movingPosition);
2296
suggestedY = This.TextView.
GetRectangleFromTextPosition
(position).Y;
2466
double x = textview.
GetRectangleFromTextPosition
(position).X;
src\Framework\System\Windows\Documents\TextPointerBase.cs (1)
887
Rect rect = textView.
GetRectangleFromTextPosition
(thisPointer.CreatePointer(direction));
src\Framework\System\windows\Documents\TextSelection.cs (5)
1964
Rect objectEdgeRect = this.TextView.
GetRectangleFromTextPosition
(cursorPosition);
2287
caretRectangle = focusedTextSelection.TextView.
GetRectangleFromTextPosition
(nextCharacterPosition);
2293
nextCharacterRectangle = focusedTextSelection.TextView.
GetRectangleFromTextPosition
(nextCharacterPosition);
2301
caretRectangle = focusedTextSelection.TextView.
GetRectangleFromTextPosition
(nextCharacterPosition);
2307
nextCharacterRectangle = focusedTextSelection.TextView.
GetRectangleFromTextPosition
(nextCharacterPosition);
src\Framework\System\Windows\Documents\TextStore.cs (4)
865
rectCur = view.
GetRectangleFromTextPosition
(positionCur);
866
rectPrev = view.
GetRectangleFromTextPosition
(positionPrev);
2939
rectCurrent = view.
GetRectangleFromTextPosition
(positionCurrent);
2956
rectNext = view.
GetRectangleFromTextPosition
(positionNext);