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