5 instantiations of TextParagraph
PresentationFramework (5)
src\Framework\MS\Internal\PtsHost\ContainerParagraph.cs (5)
1072paragraph = new TextParagraph(Element, StructuralCache); 1082paragraph = new TextParagraph(Element, StructuralCache); 1110paragraph = new TextParagraph(Element, StructuralCache); 1123paragraph = new TextParagraph(Element, StructuralCache); 1132paragraph = new TextParagraph(Element, StructuralCache);
51 references to TextParagraph
PresentationFramework (51)
src\Framework\MS\Internal\Documents\ParagraphResult.cs (2)
534TextParagraph textParagraph = _paraClient.Paragraph as TextParagraph;
src\Framework\MS\Internal\PtsHost\BaseParagraph.cs (3)
255if(this is TextParagraph) 276if(this is TextParagraph) 305if (this is TextParagraph && Element is TextElement)
src\Framework\MS\Internal\PtsHost\ContainerParagraph.cs (2)
403((dcpPara + para.LastFormatCch == dtr.StartIndex) && para is TextParagraph) 1301(dcpPara + para.LastFormatCch == ur.Dtr.StartIndex && para is TextParagraph))
src\Framework\MS\Internal\PtsHost\EmbeddedObject.cs (2)
149internal InlineObject(int dcp, UIElementIsland uiElementIsland, TextParagraph para) 200private TextParagraph _para;
src\Framework\MS\Internal\PtsHost\Line.cs (3)
314inlineObjects.Add(new InlineObject(dcpRun, ((InlineObjectRun)run).UIElementIsland, (TextParagraph)_paraClient.Paragraph)); 1233private TextParagraph TextParagraph 1237return _paraClient.Paragraph as TextParagraph;
src\Framework\MS\Internal\PtsHost\LineBase.cs (1)
326run = new InlineObjectRun(TextContainerHelper.EmbeddedObjectLength, (UIElement)embeddedObject, textProps, _paraClient.Paragraph as TextParagraph);
src\Framework\MS\Internal\PtsHost\OptimalBreakSession.cs (3)
36internal OptimalBreakSession(TextParagraph textParagraph, TextParaClient textParaClient, TextParagraphCache TextParagraphCache, OptimalTextSource optimalTextSource) : base(textParagraph.PtsContext) 73internal TextParagraph TextParagraph { get { return _textParagraph; } } 83private TextParagraph _textParagraph;
src\Framework\MS\Internal\PtsHost\PtsHost.cs (28)
1207TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1268TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1294TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1390TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1453TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1512TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1700TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1841TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1869TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1907TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 2014TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 2056TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 2115TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 2179TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph;
src\Framework\MS\Internal\PtsHost\RunClient.cs (2)
41internal InlineObjectRun(int cch, UIElement element, TextRunProperties textProps, TextParagraph host) 184private readonly TextParagraph _host;
src\Framework\MS\Internal\PtsHost\TextParaClient.cs (4)
44internal TextParaClient(TextParagraph paragraph) : base(paragraph) 186Debug.Assert(!((TextParagraph) Paragraph).HasFiguresFloatersOrInlineObjects()); 1319internal TextParagraph TextParagraph { get { return (TextParagraph)_paragraph; } }
src\Framework\MS\Internal\Text\LineProperties.cs (1)
168internal double CalcLineAdvanceForTextParagraph(TextParagraph textParagraph, int dcp, double lineAdvance)