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