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