29 references to ChildContainer
PresentationFramework (29)
System\Windows\Documents\ChildDocumentBlock.cs (3)
127
Debug.Assert(
ChildContainer
.Highlights.GetLayer(typeof(TextSelection)) == null);
128
ChildContainer
.Highlights.AddLayer(_highlightLayer);
149
return
ChildContainer
.End;
System\Windows\Documents\DocumentSequenceTextContainer.cs (12)
367
if (cdb.
ChildContainer
== tp.TextContainer)
519
_start = new DocumentSequenceTextPointer(_doclistHead.NextBlock, _doclistHead.NextBlock.
ChildContainer
.Start);
520
_end = new DocumentSequenceTextPointer(_doclistTail.PreviousBlock, _doclistTail.PreviousBlock.
ChildContainer
.End);
524
_start = new DocumentSequenceTextPointer(_doclistHead, _doclistHead.
ChildContainer
.Start);
525
_end = new DocumentSequenceTextPointer(_doclistTail, _doclistTail.
ChildContainer
.End);
616
_end = new DocumentSequenceTextPointer(newBlock, newBlock.
ChildContainer
.End);
621
_start = new DocumentSequenceTextPointer(newBlock, newBlock.
ChildContainer
.Start);
626
ITextContainer container = newBlock.
ChildContainer
;
733
if (lastBlock != null && cdbScan != lastBlock && !(lastBlock.
ChildContainer
is NullTextContainer) && rangeArray.Count != 0)
751
if (!(cdbScan.
ChildContainer
is NullTextContainer) && rangeArray.Count != 0)
758
tsScan = new DocumentSequenceTextPointer(cdbScan, cdbScan.
ChildContainer
.Start);
778
if (rangeArray.Count > 0 && (!(cdbScan == null || cdbScan.
ChildContainer
is NullTextContainer)))
System\Windows\Documents\DocumentSequenceTextPointer.cs (8)
882
pointer = block.
ChildContainer
.Start;
894
pointer = block.
ChildContainer
.End;
945
Debug.Assert(thisTp.ChildBlock.
ChildContainer
== tp.ChildBlock.
ChildContainer
);
974
if (block.
ChildContainer
.Start.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.None)
1005
tpScan.ChildPointer = nextBlock.
ChildContainer
.Start;
1072
cdb.
ChildContainer
.Start.CreatePointer(childTn.LogicalDirection)
1073
: cdb.
ChildContainer
.End.CreatePointer(childTn.LogicalDirection)
System\Windows\Documents\DocumentSequenceTextView.cs (4)
134
if (ChildTextView.TextContainer == tp.ChildBlock.
ChildContainer
)
217
if (ChildTextView.TextContainer == tp.ChildBlock.
ChildContainer
)
363
if (ChildTextView.TextContainer == tpLine.ChildBlock.
ChildContainer
)
437
if (ChildTextView.TextContainer == tp.ChildBlock.
ChildContainer
)
System\Windows\Documents\FixedFindEngine.cs (2)
299
FlowPosition pageStartFlowPosition = ((FixedTextContainer)(endAsDSTP.ChildBlock.
ChildContainer
)).FixedTextBuilder.GetPageStartFlowPosition(pageNumber);
319
FlowPosition pageEndFlowPosition = ((FixedTextContainer)startAsDSTP.ChildBlock.
ChildContainer
).FixedTextBuilder.GetPageEndFlowPosition(pageNumber);