1 instantiation of TextParagraphResult
PresentationFramework (1)
src\Framework\MS\Internal\PtsHost\TextParaClient.cs (1)
379return new TextParagraphResult(this);
32 references to TextParagraphResult
PresentationFramework (32)
src\Framework\MS\Internal\Documents\TextDocumentView.cs (27)
783else if (paragraph is TextParagraphResult) 786ReadOnlyCollection<LineResult> lines = ((TextParagraphResult)paragraph).Lines; 788if (!((TextParagraphResult)paragraph).HasTextContent) 1180else if (paragraph is TextParagraphResult) 1182rect = ((TextParagraphResult)paragraph).GetRectangleFromTextPosition(position); 1326else if (paragraphs[i] is TextParagraphResult) 1328paragraphGeometry = ((TextParagraphResult)paragraphs[i]).GetTightBoundingGeometryFromTextPositions(startPosition, endPosition, paragraphTopSpace, visibleRect); 1509else if (paragraph is TextParagraphResult) 1512isAtCaretUnitBoundary = ((TextParagraphResult)paragraph).IsAtCaretUnitBoundary(position); 1636else if (paragraph is TextParagraphResult) 1639nextCaretPosition = ((TextParagraphResult)paragraph).GetNextCaretUnitPosition(position, direction); 1759else if (paragraph is TextParagraphResult) 1762backspaceCaretPosition = ((TextParagraphResult)paragraph).GetBackspaceCaretUnitPosition(position); 2335else if (paragraph is TextParagraphResult) 2339ReadOnlyCollection<LineResult> lines = ((TextParagraphResult)paragraph).Lines; 2341if (!((TextParagraphResult)paragraph).HasTextContent) 2347lineRange = new TextSegment(((TextParagraphResult)paragraph).EndPosition, ((TextParagraphResult)paragraph).EndPosition, true); 2483else if (paragraphs[paragraphIndex] is TextParagraphResult) 2491ReadOnlyCollection<LineResult> lines = ((TextParagraphResult)paragraphs[paragraphIndex]).Lines; 2493if (!((TextParagraphResult)paragraphs[paragraphIndex]).HasTextContent) 2829else if (paragraphs[paragraphIndex] is TextParagraphResult) 2835positionOut = GetPositionAtNextLineFromSiblingTextPara((TextParagraphResult)paragraphs[paragraphIndex], suggestedX, ref count); 2957private ITextPointer GetPositionAtNextLineFromSiblingTextPara(TextParagraphResult paragraph, double suggestedX, ref int count) 3147if (paragraph is TextParagraphResult) 3149TextParagraphResult tpr = (TextParagraphResult)paragraph;
src\Framework\MS\Internal\LayoutDump.cs (3)
702if (paragraph is TextParagraphResult) 704DumpTextParagraphResult(writer, (TextParagraphResult)paragraph, visualParent); 738private static void DumpTextParagraphResult(XmlTextWriter writer, TextParagraphResult paragraph, Visual visualParent)
src\Framework\System\Windows\Controls\Primitives\BulletDecorator.cs (2)
361TextParagraphResult textParagraphResult = cpr.Paragraphs[0] as TextParagraphResult;