29 references to ChildContainer
PresentationFramework (29)
src\Framework\System\Windows\Documents\ChildDocumentBlock.cs (3)
133
Debug.Assert(
ChildContainer
.Highlights.GetLayer(typeof(TextSelection)) == null);
134
ChildContainer
.Highlights.AddLayer(_highlightLayer);
155
return
ChildContainer
.End;
src\Framework\System\Windows\Documents\DocumentSequenceTextContainer.cs (12)
391
if (cdb.
ChildContainer
== tp.TextContainer)
543
_start = new DocumentSequenceTextPointer(_doclistHead.NextBlock, _doclistHead.NextBlock.
ChildContainer
.Start);
544
_end = new DocumentSequenceTextPointer(_doclistTail.PreviousBlock, _doclistTail.PreviousBlock.
ChildContainer
.End);
548
_start = new DocumentSequenceTextPointer(_doclistHead, _doclistHead.
ChildContainer
.Start);
549
_end = new DocumentSequenceTextPointer(_doclistTail, _doclistTail.
ChildContainer
.End);
640
_end = new DocumentSequenceTextPointer(newBlock, newBlock.
ChildContainer
.End);
645
_start = new DocumentSequenceTextPointer(newBlock, newBlock.
ChildContainer
.Start);
651
ITextContainer container = newBlock.
ChildContainer
;
758
if (lastBlock != null && cdbScan != lastBlock && !(lastBlock.
ChildContainer
is NullTextContainer) && rangeArray.Count != 0)
776
if (!(cdbScan.
ChildContainer
is NullTextContainer) && rangeArray.Count != 0)
783
tsScan = new DocumentSequenceTextPointer(cdbScan, cdbScan.
ChildContainer
.Start);
803
if (rangeArray.Count > 0 && (!(cdbScan == null || cdbScan.
ChildContainer
is NullTextContainer)))
src\Framework\System\Windows\Documents\DocumentSequenceTextPointer.cs (8)
908
pointer = block.
ChildContainer
.Start;
920
pointer = block.
ChildContainer
.End;
971
Debug.Assert(thisTp.ChildBlock.
ChildContainer
== tp.ChildBlock.
ChildContainer
);
1000
if (block.
ChildContainer
.Start.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.None)
1031
tpScan.ChildPointer = nextBlock.
ChildContainer
.Start;
1098
cdb.
ChildContainer
.Start.CreatePointer(childTn.LogicalDirection)
1099
: cdb.
ChildContainer
.End.CreatePointer(childTn.LogicalDirection)
src\Framework\System\Windows\Documents\DocumentSequenceTextView.cs (4)
148
if (ChildTextView.TextContainer == tp.ChildBlock.
ChildContainer
)
231
if (ChildTextView.TextContainer == tp.ChildBlock.
ChildContainer
)
386
if (ChildTextView.TextContainer == tpLine.ChildBlock.
ChildContainer
)
460
if (ChildTextView.TextContainer == tp.ChildBlock.
ChildContainer
)
src\Framework\System\Windows\Documents\FixedFindEngine.cs (2)
309
FlowPosition pageStartFlowPosition = ((FixedTextContainer)(endAsDSTP.ChildBlock.
ChildContainer
)).FixedTextBuilder.GetPageStartFlowPosition(pageNumber);
329
FlowPosition pageEndFlowPosition = ((FixedTextContainer)startAsDSTP.ChildBlock.
ChildContainer
).FixedTextBuilder.GetPageEndFlowPosition(pageNumber);