5 instantiations of TextParagraph
PresentationFramework (5)
MS\Internal\PtsHost\ContainerParagraph.cs (5)
1046paragraph = new TextParagraph(Element, StructuralCache); 1056paragraph = new TextParagraph(Element, StructuralCache); 1084paragraph = new TextParagraph(Element, StructuralCache); 1097paragraph = new TextParagraph(Element, StructuralCache); 1106paragraph = new TextParagraph(Element, StructuralCache);
53 references to TextParagraph
PresentationFramework (53)
MS\Internal\Documents\ParagraphResult.cs (2)
528TextParagraph textParagraph = _paraClient.Paragraph as TextParagraph;
MS\Internal\PtsHost\BaseParagraph.cs (3)
251if(this is TextParagraph) 272if(this is TextParagraph) 301if (this is TextParagraph && Element is TextElement)
MS\Internal\PtsHost\ContainerParagraph.cs (2)
398((dcpPara + para.LastFormatCch == dtr.StartIndex) && para is TextParagraph) 1275(dcpPara + para.LastFormatCch == ur.Dtr.StartIndex && para is TextParagraph))
MS\Internal\PtsHost\EmbeddedObject.cs (2)
146internal InlineObject(int dcp, UIElementIsland uiElementIsland, TextParagraph para) 197private TextParagraph _para;
MS\Internal\PtsHost\Line.cs (3)
311inlineObjects.Add(new InlineObject(dcpRun, ((InlineObjectRun)run).UIElementIsland, (TextParagraph)_paraClient.Paragraph)); 1225private TextParagraph TextParagraph 1229return _paraClient.Paragraph as TextParagraph;
MS\Internal\PtsHost\LineBase.cs (1)
321run = new InlineObjectRun(TextContainerHelper.EmbeddedObjectLength, (UIElement)embeddedObject, textProps, _paraClient.Paragraph as TextParagraph);
MS\Internal\PtsHost\OptimalBreakSession.cs (3)
32internal OptimalBreakSession(TextParagraph textParagraph, TextParaClient textParaClient, TextParagraphCache TextParagraphCache, OptimalTextSource optimalTextSource) : base(textParagraph.PtsContext) 69internal TextParagraph TextParagraph { get { return _textParagraph; } } 79private TextParagraph _textParagraph;
MS\Internal\PtsHost\PtsContext.cs (2)
141if (objDbg is TextParagraph) 143List<AttachedObject> attachedObjects = ((TextParagraph)objDbg).AttachedObjectDbg;
MS\Internal\PtsHost\PtsHost.cs (28)
1152TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1213TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1239TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1327TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1390TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1449TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1633TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1774TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1802TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1840TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1939TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1977TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 2036TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 2094TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph;
MS\Internal\PtsHost\RunClient.cs (2)
38internal InlineObjectRun(int cch, UIElement element, TextRunProperties textProps, TextParagraph host) 181private readonly TextParagraph _host;
MS\Internal\PtsHost\TextParaClient.cs (4)
41internal TextParaClient(TextParagraph paragraph) : base(paragraph) 164Debug.Assert(!((TextParagraph) Paragraph).HasFiguresFloatersOrInlineObjects()); 1162internal TextParagraph TextParagraph { get { return (TextParagraph)_paragraph; } }
MS\Internal\Text\LineProperties.cs (1)
165internal double CalcLineAdvanceForTextParagraph(TextParagraph textParagraph, int dcp, double lineAdvance)