27 references to IsEmpty
PresentationFramework (27)
MS\Internal\Documents\TableTextElementCollectionInternal.cs (1)
324IEnumerator enumChildren = Owner.IsEmpty
MS\Internal\PtsHost\LineBase.cs (1)
165else if (element.IsEmpty)
MS\Internal\Text\ComplexLine.cs (1)
392else 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)
754paragraphOrBlockUIContainerToDelete is BlockUIContainer && paragraphOrBlockUIContainerToDelete.IsEmpty) // empty BlockUIContainer 763paragraphOrBlockUIContainerToDelete is BlockUIContainer && paragraphOrBlockUIContainerToDelete.IsEmpty) // empty BlockUIContainer
System\Windows\Documents\TextElement.cs (2)
917return this.IsEmpty 1102if (!this.IsEmpty)
System\Windows\Documents\TextPointer.cs (2)
2146if (!((TextElement)this.Parent).IsEmpty) // the parent may be InlineUIContainer or BlockUIContainer 3557if (run.IsEmpty)
System\Windows\Documents\TextPointerBase.cs (2)
167run.IsEmpty && 790return listItem != null && listItem.IsEmpty;
System\Windows\Documents\TextRangeEdit.cs (12)
168if (inline != null && inline.IsEmpty) 172while (inline != null && inline.IsEmpty && !TextSchema.IsFormattingType(inline.GetType())) 184inline != null && inline.IsEmpty && 195while (inline != null && inline.IsEmpty && 1014!inline.IsEmpty && 1314if (previousRun == null || previousRun.IsEmpty || nextRun == null || nextRun.IsEmpty) 1493if (startPosition.Parent is BlockUIContainer && ((BlockUIContainer)startPosition.Parent).IsEmpty) 1497else if (startPosition.Parent is Hyperlink && ((Hyperlink)startPosition.Parent).IsEmpty) 1517if (first.IsEmpty) 1531if (second.IsEmpty) 2138if (run.IsEmpty)
System\Windows\Documents\TextRangeEditTables.cs (1)
752if (blockUIContainer.IsEmpty)
System\Windows\Documents\TextRangeSerialization.cs (1)
1557Invariant.Assert(propertyBag.IsEmpty && propertyBag.Parent == null, "propertyBag is supposed to be an empty element outside any tree");