27 references to IsEmpty
PresentationFramework (27)
src\Framework\MS\Internal\Documents\TableTextElementCollectionInternal.cs (1)
334IEnumerator enumChildren = Owner.IsEmpty
src\Framework\MS\Internal\PtsHost\LineBase.cs (1)
176else if (element.IsEmpty)
src\Framework\MS\Internal\Text\ComplexLine.cs (1)
403else if (element.IsEmpty)
src\Framework\System\Windows\Documents\List.cs (1)
241Invariant.Assert(this.IsEmpty, "Cannot Apply List Because It Is Not Empty.");
src\Framework\System\Windows\Documents\Run.cs (1)
258if (!run.IsEmpty)
src\Framework\System\windows\Documents\TextEditorTyping.cs (2)
780paragraphOrBlockUIContainerToDelete is BlockUIContainer && paragraphOrBlockUIContainerToDelete.IsEmpty) // empty BlockUIContainer 789paragraphOrBlockUIContainerToDelete is BlockUIContainer && paragraphOrBlockUIContainerToDelete.IsEmpty) // empty BlockUIContainer
src\Framework\System\Windows\Documents\TextElement.cs (2)
963return this.IsEmpty 1148if (!this.IsEmpty)
src\Framework\System\Windows\Documents\TextPointer.cs (2)
2171if (!((TextElement)this.Parent).IsEmpty) // the parent may be InlineUIContainer or BlockUIContainer 3588if (run.IsEmpty)
src\Framework\System\Windows\Documents\TextPointerBase.cs (2)
171run.IsEmpty && 797return listItem != null && listItem.IsEmpty;
src\Framework\System\Windows\Documents\TextRangeEdit.cs (12)
172if (inline != null && inline.IsEmpty) 176while (inline != null && inline.IsEmpty && !TextSchema.IsFormattingType(inline.GetType())) 188inline != null && inline.IsEmpty && 199while (inline != null && inline.IsEmpty && 1018!inline.IsEmpty && 1318if (previousRun == null || previousRun.IsEmpty || nextRun == null || nextRun.IsEmpty) 1497if (startPosition.Parent is BlockUIContainer && ((BlockUIContainer)startPosition.Parent).IsEmpty) 1501else if (startPosition.Parent is Hyperlink && ((Hyperlink)startPosition.Parent).IsEmpty) 1521if (first.IsEmpty) 1535if (second.IsEmpty) 2142if (run.IsEmpty)
src\Framework\System\Windows\Documents\TextRangeEditTables.cs (1)
757if (blockUIContainer.IsEmpty)
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (1)
1583Invariant.Assert(propertyBag.IsEmpty && propertyBag.Parent == null, "propertyBag is supposed to be an empty element outside any tree");