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