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