5 instantiations of TextParagraph
PresentationFramework (5)
MS\Internal\PtsHost\ContainerParagraph.cs (5)
1026paragraph = new TextParagraph(Element, StructuralCache); 1036paragraph = new TextParagraph(Element, StructuralCache); 1064paragraph = new TextParagraph(Element, StructuralCache); 1077paragraph = new TextParagraph(Element, StructuralCache); 1086paragraph = 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)
380((dcpPara + para.LastFormatCch == dtr.StartIndex) && para is TextParagraph) 1256(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)
297inlineObjects.Add(new InlineObject(dcpRun, ((InlineObjectRun)run).UIElementIsland, (TextParagraph)_paraClient.Paragraph)); 1210private TextParagraph TextParagraph 1214return _paraClient.Paragraph as TextParagraph;
MS\Internal\PtsHost\LineBase.cs (1)
311run = 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)
1138TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1199TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1225TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1313TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1376TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1435TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1615TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1756TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1784TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1822TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1921TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1959TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 2016TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 2074TextParagraph 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)