29 references to ChildContainer
PresentationFramework (29)
System\Windows\Documents\ChildDocumentBlock.cs (3)
130
Debug.Assert(
ChildContainer
.Highlights.GetLayer(typeof(TextSelection)) == null);
131
ChildContainer
.Highlights.AddLayer(_highlightLayer);
152
return
ChildContainer
.End;
System\Windows\Documents\DocumentSequenceTextContainer.cs (12)
384
if (cdb.
ChildContainer
== tp.TextContainer)
536
_start = new DocumentSequenceTextPointer(_doclistHead.NextBlock, _doclistHead.NextBlock.
ChildContainer
.Start);
537
_end = new DocumentSequenceTextPointer(_doclistTail.PreviousBlock, _doclistTail.PreviousBlock.
ChildContainer
.End);
541
_start = new DocumentSequenceTextPointer(_doclistHead, _doclistHead.
ChildContainer
.Start);
542
_end = new DocumentSequenceTextPointer(_doclistTail, _doclistTail.
ChildContainer
.End);
633
_end = new DocumentSequenceTextPointer(newBlock, newBlock.
ChildContainer
.End);
638
_start = new DocumentSequenceTextPointer(newBlock, newBlock.
ChildContainer
.Start);
643
ITextContainer container = newBlock.
ChildContainer
;
750
if (lastBlock != null && cdbScan != lastBlock && !(lastBlock.
ChildContainer
is NullTextContainer) && rangeArray.Count != 0)
768
if (!(cdbScan.
ChildContainer
is NullTextContainer) && rangeArray.Count != 0)
775
tsScan = new DocumentSequenceTextPointer(cdbScan, cdbScan.
ChildContainer
.Start);
795
if (rangeArray.Count > 0 && (!(cdbScan == null || cdbScan.
ChildContainer
is NullTextContainer)))
System\Windows\Documents\DocumentSequenceTextPointer.cs (8)
891
pointer = block.
ChildContainer
.Start;
903
pointer = block.
ChildContainer
.End;
954
Debug.Assert(thisTp.ChildBlock.
ChildContainer
== tp.ChildBlock.
ChildContainer
);
983
if (block.
ChildContainer
.Start.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.None)
1014
tpScan.ChildPointer = nextBlock.
ChildContainer
.Start;
1081
cdb.
ChildContainer
.Start.CreatePointer(childTn.LogicalDirection)
1082
: cdb.
ChildContainer
.End.CreatePointer(childTn.LogicalDirection)
System\Windows\Documents\DocumentSequenceTextView.cs (4)
142
if (ChildTextView.TextContainer == tp.ChildBlock.
ChildContainer
)
225
if (ChildTextView.TextContainer == tp.ChildBlock.
ChildContainer
)
371
if (ChildTextView.TextContainer == tpLine.ChildBlock.
ChildContainer
)
445
if (ChildTextView.TextContainer == tp.ChildBlock.
ChildContainer
)
System\Windows\Documents\FixedFindEngine.cs (2)
304
FlowPosition pageStartFlowPosition = ((FixedTextContainer)(endAsDSTP.ChildBlock.
ChildContainer
)).FixedTextBuilder.GetPageStartFlowPosition(pageNumber);
324
FlowPosition pageEndFlowPosition = ((FixedTextContainer)startAsDSTP.ChildBlock.
ChildContainer
).FixedTextBuilder.GetPageEndFlowPosition(pageNumber);