17 references to IsInTree
PresentationFramework (17)
src\Framework\MS\Internal\Documents\TextContainerHelper.cs (1)
639if (!textElement.IsInTree || textElement.TextContainer != textContainer)
src\Framework\System\Windows\Documents\TextElement.cs (16)
140if (this.IsInTree) 250if (this.IsInTree) 995if (this.IsInTree) // No work to do if no one's listening. 1037if (!this.IsInTree) // No work to do if no one's listening. 1298Invariant.Assert(this.IsInTree, "TextElement is not in any TextContainer, caller should ensure this."); 1310Invariant.Assert(this.IsInTree, "TextElement is not in any TextContainer, caller should ensure this."); 1322Invariant.Assert(this.IsInTree, "TextElement is not in any TextContainer, caller should ensure this."); 1334Invariant.Assert(this.IsInTree, "TextElement is not in any TextContainer, caller should ensure this."); 1347return this.IsInTree ? _textElementNode.SymbolCount : 2; 1414if (!this.IsInTree) 1468if (!this.IsInTree) 1486if (!this.IsInTree) 1504if (!this.IsInTree) 1522if (!this.IsInTree) 1617if (this.IsInTree) 1638Invariant.Assert(this.IsInTree);