29 references to ChildContainer
PresentationFramework (29)
System\Windows\Documents\ChildDocumentBlock.cs (3)
127Debug.Assert(ChildContainer.Highlights.GetLayer(typeof(TextSelection)) == null); 128ChildContainer.Highlights.AddLayer(_highlightLayer); 149return ChildContainer.End;
System\Windows\Documents\DocumentSequenceTextContainer.cs (12)
376if (cdb.ChildContainer == tp.TextContainer) 528_start = new DocumentSequenceTextPointer(_doclistHead.NextBlock, _doclistHead.NextBlock.ChildContainer.Start); 529_end = new DocumentSequenceTextPointer(_doclistTail.PreviousBlock, _doclistTail.PreviousBlock.ChildContainer.End); 533_start = new DocumentSequenceTextPointer(_doclistHead, _doclistHead.ChildContainer.Start); 534_end = new DocumentSequenceTextPointer(_doclistTail, _doclistTail.ChildContainer.End); 625_end = new DocumentSequenceTextPointer(newBlock, newBlock.ChildContainer.End); 630_start = new DocumentSequenceTextPointer(newBlock, newBlock.ChildContainer.Start); 635ITextContainer container = newBlock.ChildContainer; 742if (lastBlock != null && cdbScan != lastBlock && !(lastBlock.ChildContainer is NullTextContainer) && rangeArray.Count != 0) 760if (!(cdbScan.ChildContainer is NullTextContainer) && rangeArray.Count != 0) 767tsScan = new DocumentSequenceTextPointer(cdbScan, cdbScan.ChildContainer.Start); 787if (rangeArray.Count > 0 && (!(cdbScan == null || cdbScan.ChildContainer is NullTextContainer)))
System\Windows\Documents\DocumentSequenceTextPointer.cs (8)
885pointer = block.ChildContainer.Start; 897pointer = block.ChildContainer.End; 948Debug.Assert(thisTp.ChildBlock.ChildContainer == tp.ChildBlock.ChildContainer); 977if (block.ChildContainer.Start.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.None) 1008tpScan.ChildPointer = nextBlock.ChildContainer.Start; 1075cdb.ChildContainer.Start.CreatePointer(childTn.LogicalDirection) 1076: cdb.ChildContainer.End.CreatePointer(childTn.LogicalDirection)
System\Windows\Documents\DocumentSequenceTextView.cs (4)
134if (ChildTextView.TextContainer == tp.ChildBlock.ChildContainer) 217if (ChildTextView.TextContainer == tp.ChildBlock.ChildContainer) 363if (ChildTextView.TextContainer == tpLine.ChildBlock.ChildContainer) 437if (ChildTextView.TextContainer == tp.ChildBlock.ChildContainer)
System\Windows\Documents\FixedFindEngine.cs (2)
302FlowPosition pageStartFlowPosition = ((FixedTextContainer)(endAsDSTP.ChildBlock.ChildContainer)).FixedTextBuilder.GetPageStartFlowPosition(pageNumber); 322FlowPosition pageEndFlowPosition = ((FixedTextContainer)startAsDSTP.ChildBlock.ChildContainer).FixedTextBuilder.GetPageEndFlowPosition(pageNumber);