2 implementations of GetRectangleFromTextPosition
PresentationFramework (2)
MS\Internal\Documents\TextBoxView.cs (1)
623
Rect ITextView.
GetRectangleFromTextPosition
(ITextPointer position)
MS\Internal\Documents\TextViewBase.cs (1)
473
Rect ITextView.
GetRectangleFromTextPosition
(ITextPointer position)
44 references to GetRectangleFromTextPosition
PresentationFramework (44)
MS\Internal\Annotations\Anchoring\TextSelectionHelper.cs (1)
307
Rect rect = textView.
GetRectangleFromTextPosition
(pointer);
MS\Internal\Documents\DocumentGrid.cs (3)
1823
MakeRectVisible(TextView.
GetRectangleFromTextPosition
(tp), false /* alwaysCenter */);
2603
Rect selectionRect = TextView.
GetRectangleFromTextPosition
(tp);
2861
MakeRectVisible(TextView.
GetRectangleFromTextPosition
(
MS\Internal\Documents\DocumentPageTextView.cs (1)
229
Rect rect = _pageTextView.
GetRectangleFromTextPosition
(position);
MS\Internal\Documents\DocumentViewerHelper.cs (1)
415
Rect positionRect = textView.
GetRectangleFromTextPosition
(contextMenuPosition);
MS\Internal\Documents\TextBoxView.cs (2)
621
/// <see cref="ITextView.
GetRectangleFromTextPosition
"/>
681
return ((ITextView)this).
GetRectangleFromTextPosition
(position);
MS\Internal\Documents\TextParagraphView.cs (1)
75
/// <see cref="ITextView.
GetRectangleFromTextPosition
"/>
MS\Internal\Documents\TextViewBase.cs (2)
38
/// <see cref="ITextView.
GetRectangleFromTextPosition
"/>
471
/// <see cref="ITextView.
GetRectangleFromTextPosition
"/>
System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
849
Rect rect = textView.
GetRectangleFromTextPosition
(contentPosition);
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
1580
rect = TextEditor.GetTextView(this.RenderScope).
GetRectangleFromTextPosition
(position);
System\Windows\Documents\CompositionAdorner.cs (4)
495
_startRect = _textView.
GetRectangleFromTextPosition
(start);
496
_endRect = _textView.
GetRectangleFromTextPosition
(end);
613
Rect startRect = _textView.
GetRectangleFromTextPosition
(startLinePointer);
614
Rect endRect = _textView.
GetRectangleFromTextPosition
(endLinePointer);
System\Windows\Documents\ImmComposition.cs (6)
661
rectStart = view.
GetRectangleFromTextPosition
(startPosition);
662
rectEnd = view.
GetRectangleFromTextPosition
(endPosition);
663
rectCaret = view.
GetRectangleFromTextPosition
(caretPosition);
769
rectCaret = view.
GetRectangleFromTextPosition
(_editor.Selection.End.CreatePointer(LogicalDirection.Backward));
1655
rectCurrent = view.
GetRectangleFromTextPosition
(positionCurrent);
1672
rectNext = view.
GetRectangleFromTextPosition
(positionNext);
System\windows\Documents\TextEditorDragDrop.cs (1)
410
Rect caretRectangle = this.TextView.
GetRectangleFromTextPosition
(dragPosition);
System\windows\Documents\TextEditorMouse.cs (4)
525
Rect targetRect = This.TextView.
GetRectangleFromTextPosition
(snappedCursorPosition);
531
Rect targetRect = This.TextView.
GetRectangleFromTextPosition
(snappedCursorPosition);
741
Rect uiElementFirstEdgeRect = This.TextView.
GetRectangleFromTextPosition
(mouseMovePosition);
742
Rect uiElementSecondEdgeRect = This.TextView.
GetRectangleFromTextPosition
(otherEdgePosition);
System\windows\Documents\TextEditorSelection.cs (6)
616
Rect targetRect = This.TextView.
GetRectangleFromTextPosition
(movingPosition);
730
Rect targetRect = This.TextView.
GetRectangleFromTextPosition
(movingPosition);
1444
Rect targetRect = This.TextView.
GetRectangleFromTextPosition
(movingPosition);
1540
Rect targetRect = This.TextView.
GetRectangleFromTextPosition
(movingPosition);
2272
suggestedY = This.TextView.
GetRectangleFromTextPosition
(position).Y;
2442
double x = textview.
GetRectangleFromTextPosition
(position).X;
System\Windows\Documents\TextPointerBase.cs (1)
880
Rect rect = textView.
GetRectangleFromTextPosition
(thisPointer.CreatePointer(direction));
System\windows\Documents\TextSelection.cs (5)
1953
Rect objectEdgeRect = this.TextView.
GetRectangleFromTextPosition
(cursorPosition);
2276
caretRectangle = focusedTextSelection.TextView.
GetRectangleFromTextPosition
(nextCharacterPosition);
2282
nextCharacterRectangle = focusedTextSelection.TextView.
GetRectangleFromTextPosition
(nextCharacterPosition);
2290
caretRectangle = focusedTextSelection.TextView.
GetRectangleFromTextPosition
(nextCharacterPosition);
2296
nextCharacterRectangle = focusedTextSelection.TextView.
GetRectangleFromTextPosition
(nextCharacterPosition);
System\Windows\Documents\TextStore.cs (4)
985
rectCur = view.
GetRectangleFromTextPosition
(positionCur);
986
rectPrev = view.
GetRectangleFromTextPosition
(positionPrev);
3020
rectCurrent = view.
GetRectangleFromTextPosition
(positionCurrent);
3037
rectNext = view.
GetRectangleFromTextPosition
(positionNext);