27 references to IsEmpty
PresentationFramework (27)
src\Framework\MS\Internal\Documents\TableTextElementCollectionInternal.cs (1)
334
IEnumerator enumChildren = Owner.
IsEmpty
src\Framework\MS\Internal\PtsHost\LineBase.cs (1)
176
else if (element.
IsEmpty
)
src\Framework\MS\Internal\Text\ComplexLine.cs (1)
403
else if (element.
IsEmpty
)
src\Framework\System\Windows\Documents\List.cs (1)
241
Invariant.Assert(this.
IsEmpty
, "Cannot Apply List Because It Is Not Empty.");
src\Framework\System\Windows\Documents\Run.cs (1)
258
if (!run.
IsEmpty
)
src\Framework\System\windows\Documents\TextEditorTyping.cs (2)
780
paragraphOrBlockUIContainerToDelete is BlockUIContainer && paragraphOrBlockUIContainerToDelete.
IsEmpty
) // empty BlockUIContainer
789
paragraphOrBlockUIContainerToDelete is BlockUIContainer && paragraphOrBlockUIContainerToDelete.
IsEmpty
) // empty BlockUIContainer
src\Framework\System\Windows\Documents\TextElement.cs (2)
963
return this.
IsEmpty
1148
if (!this.
IsEmpty
)
src\Framework\System\Windows\Documents\TextPointer.cs (2)
2171
if (!((TextElement)this.Parent).
IsEmpty
) // the parent may be InlineUIContainer or BlockUIContainer
3588
if (run.
IsEmpty
)
src\Framework\System\Windows\Documents\TextPointerBase.cs (2)
171
run.
IsEmpty
&&
797
return listItem != null && listItem.
IsEmpty
;
src\Framework\System\Windows\Documents\TextRangeEdit.cs (12)
172
if (inline != null && inline.
IsEmpty
)
176
while (inline != null && inline.
IsEmpty
&& !TextSchema.IsFormattingType(inline.GetType()))
188
inline != null && inline.
IsEmpty
&&
199
while (inline != null && inline.
IsEmpty
&&
1018
!inline.
IsEmpty
&&
1318
if (previousRun == null || previousRun.
IsEmpty
|| nextRun == null || nextRun.
IsEmpty
)
1497
if (startPosition.Parent is BlockUIContainer && ((BlockUIContainer)startPosition.Parent).
IsEmpty
)
1501
else if (startPosition.Parent is Hyperlink && ((Hyperlink)startPosition.Parent).
IsEmpty
)
1521
if (first.
IsEmpty
)
1535
if (second.
IsEmpty
)
2142
if (run.
IsEmpty
)
src\Framework\System\Windows\Documents\TextRangeEditTables.cs (1)
757
if (blockUIContainer.
IsEmpty
)
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (1)
1583
Invariant.Assert(propertyBag.
IsEmpty
&& propertyBag.Parent == null, "propertyBag is supposed to be an empty element outside any tree");