1 instantiation of TextParagraphResult
PresentationFramework (1)
MS\Internal\PtsHost\TextParaClient.cs (1)
337return new TextParagraphResult(this);
32 references to TextParagraphResult
PresentationFramework (32)
MS\Internal\Documents\TextDocumentView.cs (27)
775else if (paragraph is TextParagraphResult) 778ReadOnlyCollection<LineResult> lines = ((TextParagraphResult)paragraph).Lines; 780if (!((TextParagraphResult)paragraph).HasTextContent) 1172else if (paragraph is TextParagraphResult) 1174rect = ((TextParagraphResult)paragraph).GetRectangleFromTextPosition(position); 1318else if (paragraphs[i] is TextParagraphResult) 1320paragraphGeometry = ((TextParagraphResult)paragraphs[i]).GetTightBoundingGeometryFromTextPositions(startPosition, endPosition, paragraphTopSpace, visibleRect); 1501else if (paragraph is TextParagraphResult) 1504isAtCaretUnitBoundary = ((TextParagraphResult)paragraph).IsAtCaretUnitBoundary(position); 1628else if (paragraph is TextParagraphResult) 1631nextCaretPosition = ((TextParagraphResult)paragraph).GetNextCaretUnitPosition(position, direction); 1751else if (paragraph is TextParagraphResult) 1754backspaceCaretPosition = ((TextParagraphResult)paragraph).GetBackspaceCaretUnitPosition(position); 2327else if (paragraph is TextParagraphResult) 2331ReadOnlyCollection<LineResult> lines = ((TextParagraphResult)paragraph).Lines; 2333if (!((TextParagraphResult)paragraph).HasTextContent) 2339lineRange = new TextSegment(((TextParagraphResult)paragraph).EndPosition, ((TextParagraphResult)paragraph).EndPosition, true); 2475else if (paragraphs[paragraphIndex] is TextParagraphResult) 2483ReadOnlyCollection<LineResult> lines = ((TextParagraphResult)paragraphs[paragraphIndex]).Lines; 2485if (!((TextParagraphResult)paragraphs[paragraphIndex]).HasTextContent) 2820else if (paragraphs[paragraphIndex] is TextParagraphResult) 2826positionOut = GetPositionAtNextLineFromSiblingTextPara((TextParagraphResult)paragraphs[paragraphIndex], suggestedX, ref count); 2948private ITextPointer GetPositionAtNextLineFromSiblingTextPara(TextParagraphResult paragraph, double suggestedX, ref int count) 3138if (paragraph is TextParagraphResult) 3140TextParagraphResult tpr = (TextParagraphResult)paragraph;
MS\Internal\LayoutDump.cs (3)
699if (paragraph is TextParagraphResult) 701DumpTextParagraphResult(writer, (TextParagraphResult)paragraph, visualParent); 735private static void DumpTextParagraphResult(XmlTextWriter writer, TextParagraphResult paragraph, Visual visualParent)
System\Windows\Controls\Primitives\BulletDecorator.cs (2)
360TextParagraphResult textParagraphResult = cpr.Paragraphs[0] as TextParagraphResult;