5 instantiations of TextParagraph
PresentationFramework (5)
MS\Internal\PtsHost\ContainerParagraph.cs (5)
1041paragraph = new TextParagraph(Element, StructuralCache); 1051paragraph = new TextParagraph(Element, StructuralCache); 1079paragraph = new TextParagraph(Element, StructuralCache); 1092paragraph = new TextParagraph(Element, StructuralCache); 1101paragraph = new TextParagraph(Element, StructuralCache);
53 references to TextParagraph
PresentationFramework (53)
MS\Internal\Documents\ParagraphResult.cs (2)
525TextParagraph textParagraph = _paraClient.Paragraph as TextParagraph;
MS\Internal\PtsHost\BaseParagraph.cs (3)
249if(this is TextParagraph) 270if(this is TextParagraph) 299if (this is TextParagraph && Element is TextElement)
MS\Internal\PtsHost\ContainerParagraph.cs (2)
393((dcpPara + para.LastFormatCch == dtr.StartIndex) && para is TextParagraph) 1270(dcpPara + para.LastFormatCch == ur.Dtr.StartIndex && para is TextParagraph))
MS\Internal\PtsHost\EmbeddedObject.cs (2)
145internal InlineObject(int dcp, UIElementIsland uiElementIsland, TextParagraph para) 196private TextParagraph _para;
MS\Internal\PtsHost\Line.cs (3)
305inlineObjects.Add(new InlineObject(dcpRun, ((InlineObjectRun)run).UIElementIsland, (TextParagraph)_paraClient.Paragraph)); 1219private TextParagraph TextParagraph 1223return _paraClient.Paragraph as TextParagraph;
MS\Internal\PtsHost\LineBase.cs (1)
315run = new InlineObjectRun(TextContainerHelper.EmbeddedObjectLength, (UIElement)embeddedObject, textProps, _paraClient.Paragraph as TextParagraph);
MS\Internal\PtsHost\OptimalBreakSession.cs (3)
25internal OptimalBreakSession(TextParagraph textParagraph, TextParaClient textParaClient, TextParagraphCache TextParagraphCache, OptimalTextSource optimalTextSource) : base(textParagraph.PtsContext) 62internal TextParagraph TextParagraph { get { return _textParagraph; } } 72private TextParagraph _textParagraph;
MS\Internal\PtsHost\PtsContext.cs (2)
138if (objDbg is TextParagraph) 140List<AttachedObject> attachedObjects = ((TextParagraph)objDbg).AttachedObjectDbg;
MS\Internal\PtsHost\PtsHost.cs (28)
1147TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1208TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1234TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1322TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1385TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1444TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1628TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1769TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1797TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1835TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1934TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1972TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 2031TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 2089TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph;
MS\Internal\PtsHost\RunClient.cs (2)
35internal InlineObjectRun(int cch, UIElement element, TextRunProperties textProps, TextParagraph host) 178private readonly TextParagraph _host;
MS\Internal\PtsHost\TextParaClient.cs (4)
35internal TextParaClient(TextParagraph paragraph) : base(paragraph) 158Debug.Assert(!((TextParagraph) Paragraph).HasFiguresFloatersOrInlineObjects()); 1156internal TextParagraph TextParagraph { get { return (TextParagraph)_paragraph; } }
MS\Internal\Text\LineProperties.cs (1)
161internal double CalcLineAdvanceForTextParagraph(TextParagraph textParagraph, int dcp, double lineAdvance)