1 instantiation of TextParagraphResult
PresentationFramework (1)
MS\Internal\PtsHost\TextParaClient.cs (1)
331return new TextParagraphResult(this);
30 references to TextParagraphResult
PresentationFramework (30)
MS\Internal\Documents\TextDocumentView.cs (25)
772else if (paragraph is TextParagraphResult) 775ReadOnlyCollection<LineResult> lines = ((TextParagraphResult)paragraph).Lines; 777if (!((TextParagraphResult)paragraph).HasTextContent) 1151else if (paragraph is TextParagraphResult) 1153rect = ((TextParagraphResult)paragraph).GetRectangleFromTextPosition(position); 1293else if (paragraphs[i] is TextParagraphResult) 1295paragraphGeometry = ((TextParagraphResult)paragraphs[i]).GetTightBoundingGeometryFromTextPositions(startPosition, endPosition, paragraphTopSpace, visibleRect); 1473else if (paragraph is TextParagraphResult) 1476isAtCaretUnitBoundary = ((TextParagraphResult)paragraph).IsAtCaretUnitBoundary(position); 1597else if (paragraph is TextParagraphResult) 1600nextCaretPosition = ((TextParagraphResult)paragraph).GetNextCaretUnitPosition(position, direction); 1717else if (paragraph is TextParagraphResult) 1720backspaceCaretPosition = ((TextParagraphResult)paragraph).GetBackspaceCaretUnitPosition(position); 2290else if (paragraph is TextParagraphResult) 2294ReadOnlyCollection<LineResult> lines = ((TextParagraphResult)paragraph).Lines; 2296if (!((TextParagraphResult)paragraph).HasTextContent) 2302lineRange = new TextSegment(((TextParagraphResult)paragraph).EndPosition, ((TextParagraphResult)paragraph).EndPosition, true); 2435else if (paragraphs[paragraphIndex] is TextParagraphResult) 2443ReadOnlyCollection<LineResult> lines = ((TextParagraphResult)paragraphs[paragraphIndex]).Lines; 2445if (!((TextParagraphResult)paragraphs[paragraphIndex]).HasTextContent) 2778else if (paragraphs[paragraphIndex] is TextParagraphResult) 2784positionOut = GetPositionAtNextLineFromSiblingTextPara((TextParagraphResult)paragraphs[paragraphIndex], suggestedX, ref count); 2905private ITextPointer GetPositionAtNextLineFromSiblingTextPara(TextParagraphResult paragraph, double suggestedX, ref int count) 3095if (paragraph is TextParagraphResult tpr)
MS\Internal\LayoutDump.cs (3)
698if (paragraph is TextParagraphResult) 700DumpTextParagraphResult(writer, (TextParagraphResult)paragraph, visualParent); 734private static void DumpTextParagraphResult(XmlTextWriter writer, TextParagraphResult paragraph, Visual visualParent)
System\Windows\Controls\Primitives\BulletDecorator.cs (2)
354TextParagraphResult textParagraphResult = cpr.Paragraphs[0] as TextParagraphResult;