27 references to IsEmpty
PresentationFramework (27)
MS\Internal\Documents\TableTextElementCollectionInternal.cs (1)
323IEnumerator enumChildren = Owner.IsEmpty
MS\Internal\PtsHost\LineBase.cs (1)
160else if (element.IsEmpty)
MS\Internal\Text\ComplexLine.cs (1)
391else if (element.IsEmpty)
System\Windows\Documents\List.cs (1)
230Invariant.Assert(this.IsEmpty, "Cannot Apply List Because It Is Not Empty.");
System\Windows\Documents\Run.cs (1)
248if (!run.IsEmpty)
System\windows\Documents\TextEditorTyping.cs (2)
744paragraphOrBlockUIContainerToDelete is BlockUIContainer && paragraphOrBlockUIContainerToDelete.IsEmpty) // empty BlockUIContainer 753paragraphOrBlockUIContainerToDelete is BlockUIContainer && paragraphOrBlockUIContainerToDelete.IsEmpty) // empty BlockUIContainer
System\Windows\Documents\TextElement.cs (2)
902return this.IsEmpty 1087if (!this.IsEmpty)
System\Windows\Documents\TextPointer.cs (2)
2145if (!((TextElement)this.Parent).IsEmpty) // the parent may be InlineUIContainer or BlockUIContainer 3556if (run.IsEmpty)
System\Windows\Documents\TextPointerBase.cs (2)
166run.IsEmpty && 789return listItem != null && listItem.IsEmpty;
System\Windows\Documents\TextRangeEdit.cs (12)
167if (inline != null && inline.IsEmpty) 171while (inline != null && inline.IsEmpty && !TextSchema.IsFormattingType(inline.GetType())) 183inline != null && inline.IsEmpty && 194while (inline != null && inline.IsEmpty && 1013!inline.IsEmpty && 1313if (previousRun == null || previousRun.IsEmpty || nextRun == null || nextRun.IsEmpty) 1492if (startPosition.Parent is BlockUIContainer && ((BlockUIContainer)startPosition.Parent).IsEmpty) 1496else if (startPosition.Parent is Hyperlink && ((Hyperlink)startPosition.Parent).IsEmpty) 1516if (first.IsEmpty) 1530if (second.IsEmpty) 2137if (run.IsEmpty)
System\Windows\Documents\TextRangeEditTables.cs (1)
755if (blockUIContainer.IsEmpty)
System\Windows\Documents\TextRangeSerialization.cs (1)
1556Invariant.Assert(propertyBag.IsEmpty && propertyBag.Parent == null, "propertyBag is supposed to be an empty element outside any tree");