43 references to IsEmpty
System.Drawing.Common (1)
System\Drawing\Icon.cs (1)
196if (!_iconSize.IsEmpty)
System.Windows.Forms (27)
System\Windows\Forms\Control.cs (3)
2162if (!cachedSize.IsEmpty && (proposedSize == LayoutUtils.s_maxSize)) 9853if (!minSize.IsEmpty) 9862if (!maxSize.IsEmpty)
System\Windows\Forms\Controls\ImageList\ImageList.cs (1)
149if (value.IsEmpty)
System\Windows\Forms\Controls\ListView\ListView.cs (1)
1645if (!_tileSize.IsEmpty)
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
507if (_itemSize.IsEmpty)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (4)
1463if (!MinimumSize.IsEmpty) 1468if (!MaximumSize.IsEmpty) 1497if (!MinimumSize.IsEmpty) 1502if (!MaximumSize.IsEmpty)
System\Windows\Forms\Form.cs (14)
440if (_autoScaleBaseSize.IsEmpty) 1206if (!MinimumSize.IsEmpty && !value.IsEmpty) 1234if (!value.IsEmpty && (size.Width > value.Width || size.Height > value.Height)) 1323if (!MaximumSize.IsEmpty && !value.IsEmpty) 3040if (!_autoScaleBaseSize.IsEmpty) 5185if (!minSize.IsEmpty) 5190if (!maxSize.IsEmpty) 6871if (!minTrack.IsEmpty || !maxTrack.IsEmpty || !maximizedBounds.IsEmpty) 6885if (!minTrack.IsEmpty) 6898if (maxTrack.IsEmpty) 6915if (!maxTrack.IsEmpty)
System\Windows\Forms\Input\Cursor.cs (1)
197if (s_cursorSize.IsEmpty)
System\Windows\Forms\Layout\TableLayout.ContainerInfo.cs (1)
378if (!cachedSize.IsEmpty)
System\Windows\Forms\Scrolling\ScrollableControl.cs (1)
367if (!_userAutoScrollMinSize.IsEmpty)
System.Windows.Forms.Design (11)
System\ComponentModel\Design\DesignerActionPanel.cs (1)
399if (proposedSize.IsEmpty)
System\ComponentModel\Design\DesignerActionPanel.PanelHeaderLine.cs (1)
73int newHeight = (subtitleSize.IsEmpty ? (titleSize.Height + 2 * PanelHeaderVerticalPadding) : (titleSize.Height + subtitleSize.Height + 3 * PanelHeaderVerticalPadding));
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (1)
764else if (!_parentGridSize.IsEmpty)
System\Windows\Forms\Design\Behavior\ResizeBehavior.cs (1)
743if (!_parentGridSize.IsEmpty)
System\Windows\Forms\Design\CommandSet.cs (6)
852if (snapOn && !snapSize.IsEmpty) 1148if (prop is null || gridSize.IsEmpty) 2412if (!grid.IsEmpty) 2656if (!curSize.IsEmpty && !curLoc.IsEmpty) 3340if (gridSize.IsEmpty) 3353if (gridSize.IsEmpty)
System\Windows\Forms\Design\ControlCommandSet.cs (1)
689if (snapOn && !snapSize.IsEmpty)
System.Windows.Forms.Primitives (2)
System\Windows\Forms\Internals\ScaleHelper.cs (2)
332if (size.IsEmpty) 350using Icon icon = new(resourceStream, size.IsEmpty ? SystemIconSize : size);
System.Windows.Forms.Tests (2)
System\Resources\ResXFileRef.ConverterTests.cs (2)
108Assert.False(result.Size.IsEmpty); 133Assert.False(result.Size.IsEmpty);