1 instantiation of TextParagraphResult
PresentationFramework (1)
MS\Internal\PtsHost\TextParaClient.cs (1)
331return new TextParagraphResult(this);
32 references to TextParagraphResult
PresentationFramework (32)
MS\Internal\Documents\TextDocumentView.cs (27)
773else if (paragraph is TextParagraphResult) 776ReadOnlyCollection<LineResult> lines = ((TextParagraphResult)paragraph).Lines; 778if (!((TextParagraphResult)paragraph).HasTextContent) 1170else if (paragraph is TextParagraphResult) 1172rect = ((TextParagraphResult)paragraph).GetRectangleFromTextPosition(position); 1316else if (paragraphs[i] is TextParagraphResult) 1318paragraphGeometry = ((TextParagraphResult)paragraphs[i]).GetTightBoundingGeometryFromTextPositions(startPosition, endPosition, paragraphTopSpace, visibleRect); 1499else if (paragraph is TextParagraphResult) 1502isAtCaretUnitBoundary = ((TextParagraphResult)paragraph).IsAtCaretUnitBoundary(position); 1626else if (paragraph is TextParagraphResult) 1629nextCaretPosition = ((TextParagraphResult)paragraph).GetNextCaretUnitPosition(position, direction); 1749else if (paragraph is TextParagraphResult) 1752backspaceCaretPosition = ((TextParagraphResult)paragraph).GetBackspaceCaretUnitPosition(position); 2325else if (paragraph is TextParagraphResult) 2329ReadOnlyCollection<LineResult> lines = ((TextParagraphResult)paragraph).Lines; 2331if (!((TextParagraphResult)paragraph).HasTextContent) 2337lineRange = new TextSegment(((TextParagraphResult)paragraph).EndPosition, ((TextParagraphResult)paragraph).EndPosition, true); 2473else if (paragraphs[paragraphIndex] is TextParagraphResult) 2481ReadOnlyCollection<LineResult> lines = ((TextParagraphResult)paragraphs[paragraphIndex]).Lines; 2483if (!((TextParagraphResult)paragraphs[paragraphIndex]).HasTextContent) 2818else if (paragraphs[paragraphIndex] is TextParagraphResult) 2824positionOut = GetPositionAtNextLineFromSiblingTextPara((TextParagraphResult)paragraphs[paragraphIndex], suggestedX, ref count); 2946private ITextPointer GetPositionAtNextLineFromSiblingTextPara(TextParagraphResult paragraph, double suggestedX, ref int count) 3136if (paragraph is TextParagraphResult) 3138TextParagraphResult tpr = (TextParagraphResult)paragraph;
MS\Internal\LayoutDump.cs (3)
696if (paragraph is TextParagraphResult) 698DumpTextParagraphResult(writer, (TextParagraphResult)paragraph, visualParent); 732private static void DumpTextParagraphResult(XmlTextWriter writer, TextParagraphResult paragraph, Visual visualParent)
System\Windows\Controls\Primitives\BulletDecorator.cs (2)
354TextParagraphResult textParagraphResult = cpr.Paragraphs[0] as TextParagraphResult;