27 references to IsEmpty
PresentationFramework (27)
MS\Internal\Documents\TableTextElementCollectionInternal.cs (1)
328IEnumerator enumChildren = Owner.IsEmpty
MS\Internal\PtsHost\LineBase.cs (1)
171else if (element.IsEmpty)
MS\Internal\Text\ComplexLine.cs (1)
397else if (element.IsEmpty)
System\Windows\Documents\List.cs (1)
231Invariant.Assert(this.IsEmpty, "Cannot Apply List Because It Is Not Empty.");
System\Windows\Documents\Run.cs (1)
258if (!run.IsEmpty)
System\windows\Documents\TextEditorTyping.cs (2)
763paragraphOrBlockUIContainerToDelete is BlockUIContainer && paragraphOrBlockUIContainerToDelete.IsEmpty) // empty BlockUIContainer 772paragraphOrBlockUIContainerToDelete is BlockUIContainer && paragraphOrBlockUIContainerToDelete.IsEmpty) // empty BlockUIContainer
System\Windows\Documents\TextElement.cs (2)
918return this.IsEmpty 1103if (!this.IsEmpty)
System\Windows\Documents\TextPointer.cs (2)
2151if (!((TextElement)this.Parent).IsEmpty) // the parent may be InlineUIContainer or BlockUIContainer 3562if (run.IsEmpty)
System\Windows\Documents\TextPointerBase.cs (2)
169run.IsEmpty && 792return listItem != null && listItem.IsEmpty;
System\Windows\Documents\TextRangeEdit.cs (12)
170if (inline != null && inline.IsEmpty) 174while (inline != null && inline.IsEmpty && !TextSchema.IsFormattingType(inline.GetType())) 186inline != null && inline.IsEmpty && 197while (inline != null && inline.IsEmpty && 1016!inline.IsEmpty && 1316if (previousRun == null || previousRun.IsEmpty || nextRun == null || nextRun.IsEmpty) 1495if (startPosition.Parent is BlockUIContainer && ((BlockUIContainer)startPosition.Parent).IsEmpty) 1499else if (startPosition.Parent is Hyperlink && ((Hyperlink)startPosition.Parent).IsEmpty) 1519if (first.IsEmpty) 1533if (second.IsEmpty) 2140if (run.IsEmpty)
System\Windows\Documents\TextRangeEditTables.cs (1)
754if (blockUIContainer.IsEmpty)
System\Windows\Documents\TextRangeSerialization.cs (1)
1563Invariant.Assert(propertyBag.IsEmpty && propertyBag.Parent == null, "propertyBag is supposed to be an empty element outside any tree");