135 references to IsEmpty
PresentationCore (37)
Core\CSharp\MS\Internal\AnimatedTypeHelpers.cs (1)
695
|| value.
IsEmpty
)
Core\CSharp\MS\Internal\Ink\StrokeNodeOperations.cs (1)
69
if (_shapeBounds.
IsEmpty
)
Core\CSharp\MS\Internal\TextFormatting\FormattedTextSymbols.cs (1)
272
if (!boundingBox.
IsEmpty
)
Core\CSharp\MS\Internal\TextFormatting\FullTextLine.cs (1)
2688
if(boundingBox.
IsEmpty
)
Core\CSharp\MS\Internal\TextFormatting\LineServicesCallbacks.cs (1)
2667
if (!objectBounds.
IsEmpty
)
Core\CSharp\MS\Internal\TextFormatting\LineServicesRun.cs (1)
267
if (!inkBoundingBox.
IsEmpty
)
Core\CSharp\MS\Internal\TextFormatting\SimpleTextLine.cs (2)
635
if(boundingBox.
IsEmpty
)
1834
if (!inkBoundingBox.
IsEmpty
)
Core\CSharp\System\Windows\Ink\IncrementalHitTester.cs (1)
538
if (erasingBounds.
IsEmpty
)
Core\CSharp\System\Windows\Ink\Stroke2.cs (3)
41
if (_cachedBounds.
IsEmpty
)
369
if (erasingBounds.
IsEmpty
)
612
System.Diagnostics.Debug.Assert(newBounds.
IsEmpty
== false);
Core\CSharp\System\Windows\Ink\StrokeCollection2.cs (4)
175
if (bounds.
IsEmpty
)
225
if (erasingBounds.
IsEmpty
)
297
if (bounds.
IsEmpty
== false)
343
if (bounds.
IsEmpty
== false)
Core\CSharp\System\Windows\Media\BoundsDrawingContextWalker.cs (1)
324
if (!rectangle.
IsEmpty
)
Core\CSharp\System\Windows\Media\Effects\Effect.cs (2)
146
return worldBounds.
IsEmpty
? null : new Nullable<Point>(UnitToWorldUnsafe(unitPoint, worldBounds));
163
return worldBounds.
IsEmpty
Core\CSharp\System\Windows\Media\EllipseGeometry.cs (1)
49
if (rect.
IsEmpty
)
Core\CSharp\System\Windows\Media\GlyphRun.cs (3)
1428
if (!bounds.
IsEmpty
)
1437
if (TextFormattingMode.Display == _textFormattingMode && !bounds.
IsEmpty
)
1908
if (!adjustedInkBoundingBox.
IsEmpty
)
Core\CSharp\System\Windows\Media\HitTestWithGeometryDrawingContextWalker.cs (1)
183
if (!rectangle.
IsEmpty
)
Core\CSharp\System\Windows\Media\HitTestWithPointDrawingContextWalker.cs (1)
123
if (!rectangle.
IsEmpty
)
Core\CSharp\System\Windows\Media\RectangleGeometry.cs (7)
94
if (currentRect.
IsEmpty
)
202
if (rect.
IsEmpty
)
539
if (rect.
IsEmpty
)
555
if (rect.
IsEmpty
)
571
if (rect.
IsEmpty
)
587
if (rect.
IsEmpty
)
612
return Rect.
IsEmpty
;
Core\CSharp\System\Windows\Media\ScaleTransform.cs (1)
98
if (rect.
IsEmpty
)
Core\CSharp\System\Windows\Media\TranslateTransform.cs (1)
89
if (!rect.
IsEmpty
)
Core\CSharp\System\Windows\Media\Visual.cs (2)
607
if (!bboxSubgraph.
IsEmpty
)
1141
if (!bboxSubgraph.
IsEmpty
)
Core\CSharp\System\Windows\Media3D\Viewport3DVisual.cs (1)
579
if (viewport.
IsEmpty
)
PresentationFramework (58)
src\Framework\MS\Internal\Controls\InkCanvasFeedbackAdorner.cs (1)
96
if ( !rect.
IsEmpty
)
src\Framework\MS\Internal\Controls\InkCanvasSelectionAdorner.cs (4)
117
if ( !rectWireFrame.
IsEmpty
)
212
if ( !rectWireFrame.
IsEmpty
)
261
if ( hatchRect.
IsEmpty
)
433
if ( !selectionRect.
IsEmpty
)
src\Framework\MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (2)
1512
if (!rectPage.
IsEmpty
&& !rectStickyNote.
IsEmpty
)
src\Framework\MS\Internal\Documents\FlowDocumentFormatter.cs (1)
134
if (viewport.
IsEmpty
)
src\Framework\MS\Internal\Documents\ScrollData.cs (2)
179
if (rectangle.
IsEmpty
||
223
if (!rectangle.
IsEmpty
)
src\Framework\MS\Internal\Documents\TextBoxView.cs (3)
652
if (!rect.
IsEmpty
) // Empty rects can't be modified.
2198
if (!viewport.
IsEmpty
)
3101
if (viewport.
IsEmpty
)
src\Framework\MS\Internal\Documents\TextDocumentView.cs (1)
220
if (visibleRect.
IsEmpty
)
src\Framework\MS\Internal\Ink\InkCanvasSelection.cs (2)
300
if ( selectionBounds.
IsEmpty
)
939
if(source.
IsEmpty
)
src\Framework\MS\Internal\LayoutDump.cs (1)
214
if(!bounds.
IsEmpty
)
src\Framework\MS\Internal\PtsHost\Pts.cs (1)
909
if(!rect.
IsEmpty
)
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (4)
1136
if (targetRect.
IsEmpty
)
1143
if(!targetRect.
IsEmpty
)
1171
if(!targetRect.
IsEmpty
)
1187
if (targetRect.
IsEmpty
)
src\Framework\System\Windows\Controls\InkPresenter.cs (1)
180
if ( !boundingRect.
IsEmpty
&& boundingRect.Right > 0.0 && boundingRect.Bottom > 0.0 )
src\Framework\System\Windows\Controls\ItemsControl.cs (2)
3085
if (viewportRect.
IsEmpty
|| elementRect.
IsEmpty
)
src\Framework\System\Windows\Controls\Primitives\DocumentViewerBase.cs (3)
1188
if (targetRect.
IsEmpty
)
1199
if (targetRect.
IsEmpty
)
1222
if (targetRect.
IsEmpty
)
src\Framework\System\Windows\Controls\Primitives\ScrollContentPresenter.cs (3)
579
if (rectangle.
IsEmpty
597
if (!IsScrollClient || (!throwOnError && rectangle.
IsEmpty
))
631
if (!rectangle.
IsEmpty
)
src\Framework\System\Windows\Controls\ScrollViewer.cs (2)
2296
if(targetRect.
IsEmpty
)
2319
if (!rcNew.
IsEmpty
)
src\Framework\System\Windows\Controls\Stack.cs (1)
251
if ( rectangle.
IsEmpty
src\Framework\System\Windows\Controls\TextAdaptor.cs (4)
134
if (visibleRect.
IsEmpty
)
160
if (!lineRect.
IsEmpty
)
234
if (textView != null && !rangeBounds.
IsEmpty
)
521
if (!visibleRect.
IsEmpty
)
src\Framework\System\Windows\Controls\TextBlock.cs (1)
2324
if (!rect.
IsEmpty
) // Empty rects can't be modified
src\Framework\System\Windows\Controls\TreeViewItem.cs (1)
777
if (e.TargetRect.
IsEmpty
)
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (1)
1444
if ( rectangle.
IsEmpty
src\Framework\System\windows\Documents\CaretElement.cs (2)
277
if (caretRectangle.
IsEmpty
|| caretRectangle.Height <= 0)
305
if (!caretRectangle.
IsEmpty
&& _interimWidth != caretRectangle.Width)
src\Framework\System\Windows\Documents\FixedSOMContainer.cs (1)
245
if (_boundingRect.
IsEmpty
)
src\Framework\System\Windows\Documents\FixedSOMGroup.cs (1)
150
if (_boundingRect.
IsEmpty
)
src\Framework\System\Windows\Documents\Glyphs.cs (1)
126
if (!inkBoundingBox.
IsEmpty
)
src\Framework\System\Windows\Documents\HighlightVisual.cs (1)
111
if (!r.
IsEmpty
)
src\Framework\System\Windows\Documents\RubberbandSelector.cs (1)
707
get { return _page != null && _panel != null && !_selectionRect.
IsEmpty
; }
src\Framework\System\windows\Documents\TextSelection.cs (4)
1993
if (!objectEdgeRect.
IsEmpty
&&
2225
if (caretRectangle.
IsEmpty
)
2313
if (!caretRectangle.
IsEmpty
&& !nextCharacterRectangle.
IsEmpty
&& nextCharacterRectangle.Left > caretRectangle.Left)
src\Framework\System\Windows\Documents\TextStore.cs (1)
968
if (lineRect.
IsEmpty
== false)
src\Framework\System\Windows\Input\KeyboardNavigation.cs (1)
2572
if (!headerRect.
IsEmpty
)
src\Framework\System\Windows\Shapes\Ellipse.cs (2)
181
if (_rect.
IsEmpty
)
195
if (!_rect.
IsEmpty
)
src\Framework\System\Windows\Shapes\Shape.cs (1)
586
if (!geometryBounds.
IsEmpty
)
src\Framework\System\Windows\Window.cs (1)
3950
if (! ownerRectDeviceUnits.
IsEmpty
)
System.Activities.Presentation (2)
System.Activities.Presentation\System\Activities\Presentation\View\QuadTree.cs (2)
406
if (bounds.
IsEmpty
) return;
472
if (bounds.
IsEmpty
) return false;
UIAutomationClientsideProviders (10)
MS\Internal\AutomationProxies\ProxyHwnd.cs (1)
266
if (!itemRect.
IsEmpty
&& !Misc.IsItemVisible(ref parentRect, ref itemRect))
MS\Internal\AutomationProxies\ProxySimple.cs (2)
322
if (itemRect.
IsEmpty
)
339
if (!parentRect.
IsEmpty
&& !Misc.IsItemVisible(ref parentRect, ref itemRect))
MS\Internal\AutomationProxies\WindowsListViewItemCheckBox.cs (1)
82
if (itemRect.IsEmpty || parentRect.
IsEmpty
)
MS\Internal\AutomationProxies\WindowsListViewSubItem.cs (2)
145
if (itemRect.
IsEmpty
|| parentRect.
IsEmpty
)
MS\Internal\AutomationProxies\WindowsMenu.cs (1)
1429
if (itemRect.
IsEmpty
)
MS\Internal\AutomationProxies\WindowsToolbar.cs (1)
675
if (boundingRectangle.
IsEmpty
)
MS\Internal\AutomationProxies\WindowsTreeView.cs (2)
888
if (itemRect.
IsEmpty
)
916
if (!parentRect.
IsEmpty
&& !Misc.IsItemVisible(ref parentRect, ref itemRect))
WindowsBase (28)
Base\System\Windows\Generated\Rect.cs (4)
99
if (rect1.
IsEmpty
)
101
return rect2.
IsEmpty
;
157
if (
IsEmpty
)
319
if (
IsEmpty
)
Base\System\Windows\Rect.cs (20)
162
if (
IsEmpty
)
179
if (
IsEmpty
)
191
if (
IsEmpty
)
215
if (
IsEmpty
)
238
if (
IsEmpty
)
260
if (
IsEmpty
)
287
if (
IsEmpty
)
333
if (
IsEmpty
)
350
if (
IsEmpty
)
436
if (
IsEmpty
)
451
if (
IsEmpty
|| rect.
IsEmpty
)
475
if (
IsEmpty
|| rect.
IsEmpty
)
526
if (
IsEmpty
)
530
else if (!rect.
IsEmpty
)
597
if (
IsEmpty
)
612
if (
IsEmpty
)
657
if (
IsEmpty
)
737
if (
IsEmpty
)
Shared\MS\Internal\DoubleUtil.cs (3)
235
if (rect1.
IsEmpty
)
237
return rect2.
IsEmpty
;
243
return (!rect2.
IsEmpty
) &&
Shared\MS\Internal\MatrixUtil.cs (1)
56
if (rect.
IsEmpty
)