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