125 references to IsEmpty
System.Drawing (5)
commonui\System\Drawing\Advanced\Metafile.cs (3)
302
if (frameRect.
IsEmpty
) {
523
if (frameRect.
IsEmpty
) {
723
if (frameRect.
IsEmpty
) {
commonui\System\Drawing\Icon.cs (2)
431
if (!imageRect.
IsEmpty
) {
442
if (!targetRect.
IsEmpty
) {
System.Web.DataVisualization (4)
Common\General\Legend.cs (4)
2423
if( Common.ProcessModeRegions && !this._titlePosition.
IsEmpty
)
4031
if(!this._headerPosition.
IsEmpty
&&
4252
if( Common.ProcessModeRegions && !this._headerPosition.
IsEmpty
)
4268
!this._titlePosition.
IsEmpty
)
System.Windows.Forms (63)
winforms\Managed\System\WinForms\Control.cs (4)
5808
if (!parentClient.
IsEmpty
) {
7308
if (rc.
IsEmpty
) {
9422
if (cliprect.
IsEmpty
) return;
18397
if (!clipRect.
IsEmpty
)
winforms\Managed\System\WinForms\Cursor.cs (4)
170
if (!value.
IsEmpty
) {
189
if (value.
IsEmpty
) {
435
if (!imageRect.
IsEmpty
) {
446
if (!targetRect.
IsEmpty
) {
winforms\Managed\System\WinForms\DataGrid.cs (7)
4506
if (!this.layout.ResizeBoxRect.
IsEmpty
)
5461
if (!oldResizeRect.Equals(this.layout.ResizeBoxRect) && !this.layout.ResizeBoxRect.
IsEmpty
)
5772
if (!rowExclude.
IsEmpty
) {
6033
if (bounds.
IsEmpty
&& this.editColumn is DataGridTextBoxColumn && this.currentRow != -1 && this.currentCol != -1) {
6631
if (!parentRowsRect.
IsEmpty
) {
6642
if (!rowRect.
IsEmpty
) {
6667
if (!rowRect.
IsEmpty
) {
winforms\Managed\System\WinForms\DataGridCaption.cs (3)
598
if (!backButtonRect.
IsEmpty
) {
602
if (!downButtonRect.
IsEmpty
) {
606
if (!textRect.
IsEmpty
) {
winforms\Managed\System\WinForms\DataGridParentRows.cs (7)
149
ret.X = layout.leftArrow.
IsEmpty
? layout.data.X : layout.leftArrow.Right;
434
if (layout.rightArrow.
IsEmpty
) {
435
Debug.Assert(layout.leftArrow.
IsEmpty
, "we can't have the leftArrow w/o the rightArrow");
520
if (!layout.rightArrow.
IsEmpty
&& layout.rightArrow.Contains(x,y))
525
if (!layout.leftArrow.
IsEmpty
&& layout.leftArrow.Contains(x,y))
708
if (!layout.leftArrow.
IsEmpty
)
732
if (!layout.rightArrow.
IsEmpty
)
winforms\Managed\System\WinForms\DataGridRelationshipRow.cs (1)
752
if (outline.
IsEmpty
)
winforms\Managed\System\WinForms\DataGridTable.cs (2)
900
if (this.relationshipRect.
IsEmpty
) {
908
if (relationshipRect.
IsEmpty
&& DataGrid.AllowNavigation) {
winforms\Managed\System\WinForms\DataGridToolTip.cs (1)
63
if (iconBounds.
IsEmpty
)
winforms\Managed\System\WinForms\DataGridViewMethods.cs (12)
4459
if (!oldResizeRect.Equals(this.layout.ResizeBoxRect) && !this.layout.ResizeBoxRect.
IsEmpty
)
6887
if (!rect.
IsEmpty
)
9971
if (!cellDisplayRect.
IsEmpty
)
9998
if (!columnDisplayRect.
IsEmpty
)
10044
if (!rowDisplayRect.
IsEmpty
)
10100
if (rowDisplayRect.
IsEmpty
)
10136
if (rowDisplayRect.
IsEmpty
)
17937
if (!this.layout.ResizeBoxRect.
IsEmpty
)
29011
if (rectUpper.
IsEmpty
|| rectLower.
IsEmpty
)
29013
if (!rectUpper.
IsEmpty
|| !rectLower.
IsEmpty
)
winforms\Managed\System\WinForms\ErrorProvider.cs (1)
1181
if (windowBounds.
IsEmpty
)
winforms\Managed\System\WinForms\Form.cs (2)
7164
|| !maximizedBounds.
IsEmpty
7216
if (!maximizedBounds.
IsEmpty
&& !IsRestrictedWindow) {
winforms\Managed\System\WinForms\PropertyGridInternal\DocComment.cs (1)
118
if (!rect.
IsEmpty
&& newRect.Width > rect.Width) {
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (6)
826
if (!outlineRect.
IsEmpty
) {
1922
if (!Rectangle.Intersect(textRect, clipRect).
IsEmpty
) {
2008
if (outline.
IsEmpty
) return;
2039
if (outline.
IsEmpty
) return;
2142
if (!Rectangle.Intersect(rectPaint, clipRect).
IsEmpty
) {
2178
if (Rectangle.Intersect(rect, clipRect).
IsEmpty
) {
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (7)
1058
if (!rectTarget.
IsEmpty
) {
1070
if (rectTarget.
IsEmpty
) {
1270
if (gridEntry == null || rect.
IsEmpty
)
1278
if (cr.
IsEmpty
) {
1321
if (cr.
IsEmpty
) {
3782
if (!lastClientRect.
IsEmpty
&& newRect.Width > lastClientRect.Width) {
3787
if (!lastClientRect.
IsEmpty
&& yDelta > 0) {
winforms\Managed\System\WinForms\ScrollableControl.cs (2)
266
if (!displayRect.
IsEmpty
) {
640
if (displayRect.
IsEmpty
) {
winforms\Managed\System\WinForms\TabControl.cs (1)
410
if (!cachedDisplayRect.
IsEmpty
)
winforms\Managed\System\WinForms\ToolTip.cs (1)
1838
if (!topContainerBounds.
IsEmpty
) {
winforms\Managed\System\WinForms\TreeNode.cs (1)
441
while (node != null && node.Bounds.
IsEmpty
) {
System.Windows.Forms.DataVisualization (5)
Common\General\Legend.cs (4)
2423
if( Common.ProcessModeRegions && !this._titlePosition.
IsEmpty
)
4031
if(!this._headerPosition.
IsEmpty
&&
4252
if( Common.ProcessModeRegions && !this._headerPosition.
IsEmpty
)
4268
!this._titlePosition.
IsEmpty
)
WinForm\Utilities\AccessibleObject.cs (1)
341
if (result.
IsEmpty
)
System.Workflow.Activities (3)
Designers\StateDesigner.cs (1)
1427
if (moveBounds.
IsEmpty
)
Designers\WhileDesigner.cs (2)
46
if (!imageRectangle.
IsEmpty
)
48
else if (!textRectangle.
IsEmpty
)
System.Workflow.ComponentModel (45)
AuthoringOM\Design\ActivityDesigner.cs (1)
3035
if (!rectangle.
IsEmpty
)
AuthoringOM\Design\ActivityPreviewDesigner.cs (1)
335
if (activity != null && !itemBounds.
IsEmpty
)
AuthoringOM\Design\Connector.cs (1)
1817
if (!enclosingRectangle.
IsEmpty
)
AuthoringOM\Design\DesignerHelpers.cs (9)
106
if (boundingRect.
IsEmpty
)
164
if (destination.
IsEmpty
)
167
if (source.
IsEmpty
)
174
if (image != null && !imageRectangle.
IsEmpty
)
199
if (size.IsEmpty || destination.
IsEmpty
)
374
if (boundingRect.
IsEmpty
)
425
if (shadowSourceRectangle.
IsEmpty
|| shadowSourceRectangle.Width < 0 || shadowSourceRectangle.Height < 0)
749
if (rectangle.
IsEmpty
)
774
if (!bounds.
IsEmpty
)
AuthoringOM\Design\DesignerWidgets.cs (6)
1914
if (!tabImageRectangle.
IsEmpty
)
1918
if (!tabTextRectangle.
IsEmpty
)
2108
if (!imageRectangle.
IsEmpty
)
2256
if (msg.Msg == NativeMethods.WM_NOTIFY && msg.LParam != IntPtr.Zero && !this.inplaceTipRectangle.
IsEmpty
)
2715
if (itemRectangle.
IsEmpty
)
2949
if (!bounds.
IsEmpty
)
AuthoringOM\Design\FreeFormDesigner.cs (5)
260
if (!childRectangle.
IsEmpty
)
787
if (!childRectangle.
IsEmpty
)
821
if (!childRectangle.
IsEmpty
)
932
if (!minRectangle.
IsEmpty
)
1148
if (!enclosingRectangle.
IsEmpty
)
AuthoringOM\Design\MessageFilters\DragDropManager.cs (1)
675
if (!imageRectangle.
IsEmpty
)
AuthoringOM\Design\MessageFilters\DragSelectionMessageFilter.cs (5)
71
if (!DragRectangle.
IsEmpty
)
76
if (!DragRectangle.
IsEmpty
)
90
if (!DragRectangle.
IsEmpty
)
164
if (!DragRectangle.
IsEmpty
)
213
if (!DragRectangle.
IsEmpty
&& parentView.RootDesigner != null)
AuthoringOM\Design\MessageFilters\GlyphManager.cs (1)
372
bool viewPortEmpty = logicalViewPort.
IsEmpty
;
AuthoringOM\Design\MessageFilters\ResizingMessageFilter.cs (3)
286
if (!clipBounds.
IsEmpty
)
298
if (!clipBounds.
IsEmpty
)
316
if (!clipBounds.
IsEmpty
)
AuthoringOM\Design\MessageFilters\ZoomingMessageFilter.cs (1)
166
if (CanContinueZooming && this.currentState == ZoomState.In && this.fastZoomingMessageFilter != null && !this.fastZoomingMessageFilter.DragRectangle.
IsEmpty
)
AuthoringOM\Design\SequentialActivityDesigner.cs (1)
527
if (helpTextRectangle.
IsEmpty
)
AuthoringOM\Design\SequentialWorkflowRootDesigner.cs (2)
269
if (Header != null && !Header.TextRectangle.
IsEmpty
)
469
if (!FooterBarRectangle.
IsEmpty
)
AuthoringOM\Design\WorkflowLayouts.cs (5)
420
if (!intersectedPhysicalViewPort.
IsEmpty
)
439
transformedViewPort = (transformedViewPort.
IsEmpty
) ? insersectedLogicalViewPort : Rectangle.Union(transformedViewPort, insersectedLogicalViewPort);
455
if (!intersectedLogicalViewPort.
IsEmpty
)
474
transformedViewPort = (transformedViewPort.
IsEmpty
) ? insersectedPhysicalViewPort : Rectangle.Union(transformedViewPort, insersectedPhysicalViewPort);
654
if (!intersectedViewPort.
IsEmpty
)
AuthoringOM\Design\WorkflowView.cs (3)
788
if (toolTipRectangle.
IsEmpty
)
1729
if (!rectangleToMakeVisible.
IsEmpty
)
2012
if (!clientRectangle.
IsEmpty
)