17 references to IsInTree
PresentationFramework (17)
MS\Internal\Documents\TextContainerHelper.cs (1)
631
if (!textElement.
IsInTree
|| textElement.TextContainer != textContainer)
System\Windows\Documents\TextElement.cs (16)
134
if (this.
IsInTree
)
244
if (this.
IsInTree
)
949
if (this.
IsInTree
) // No work to do if no one's listening.
991
if (!this.
IsInTree
) // No work to do if no one's listening.
1252
Invariant.Assert(this.
IsInTree
, "TextElement is not in any TextContainer, caller should ensure this.");
1264
Invariant.Assert(this.
IsInTree
, "TextElement is not in any TextContainer, caller should ensure this.");
1276
Invariant.Assert(this.
IsInTree
, "TextElement is not in any TextContainer, caller should ensure this.");
1288
Invariant.Assert(this.
IsInTree
, "TextElement is not in any TextContainer, caller should ensure this.");
1301
return this.
IsInTree
? _textElementNode.SymbolCount : 2;
1368
if (!this.
IsInTree
)
1422
if (!this.
IsInTree
)
1440
if (!this.
IsInTree
)
1458
if (!this.
IsInTree
)
1476
if (!this.
IsInTree
)
1565
if (this.
IsInTree
)
1586
Invariant.Assert(this.
IsInTree
);