74 references to IsEmpty
System.Drawing (2)
commonui\System\Drawing\Icon.cs (2)
211
if (iconSize.
IsEmpty
) {
325
if (iconSize.
IsEmpty
) {
System.Web.DataVisualization (5)
Common\Converters\LegendConverters.cs (1)
271
if(((System.Drawing.Size)value).
IsEmpty
)
Common\General\Legend.cs (1)
507
if(!highestHeader.
IsEmpty
)
Common\General\LegendColumns.cs (3)
1487
!this._cachedCellSize.
IsEmpty
)
1505
if(this.ImageSize.
IsEmpty
&& this.Image.Length > 0)
2106
if(!this.ImageSize.
IsEmpty
)
System.Windows.Forms (34)
winforms\Managed\System\WinForms\Control.cs (3)
2795
if(!cachedSize.
IsEmpty
&& (proposedSize == LayoutUtils.MaxSize)) {
11536
if (!minSize.
IsEmpty
) {
11542
if (!maxSize.
IsEmpty
) {
winforms\Managed\System\WinForms\Cursor.cs (1)
330
if (cursorSize.
IsEmpty
) {
winforms\Managed\System\WinForms\Form.cs (14)
611
if (autoScaleBaseSize.
IsEmpty
) {
1593
if (!MinimumSize.
IsEmpty
&& !value.
IsEmpty
) {
1607
if (!value.
IsEmpty
&& (size.Width > value.Width || size.Height > value.Height)) {
1757
if (!MaximumSize.
IsEmpty
&& !value.
IsEmpty
) {
3367
if (!autoScaleBaseSize.
IsEmpty
) {
5794
if (!MinimumSize.
IsEmpty
) {
5797
if (!MaximumSize.
IsEmpty
) {
7162
if (!minTrack.
IsEmpty
7163
|| !maxTrack.
IsEmpty
7182
if (!minTrack.
IsEmpty
) {
7196
if (maxTrack.
IsEmpty
) {
7209
if (!maxTrack.
IsEmpty
) {
winforms\Managed\System\WinForms\ImageList.cs (1)
259
if (value.
IsEmpty
) {
winforms\Managed\System\WinForms\Layout\TableLayout.cs (1)
1781
if(!cachedSize.
IsEmpty
) {
winforms\Managed\System\WinForms\ListView.cs (2)
1636
if (tileSize.
IsEmpty
) {
1653
if (value.
IsEmpty
|| value.Height <= 0 || value.Width <= 0) {
winforms\Managed\System\WinForms\ScrollableControl.cs (1)
484
if (!userAutoScrollMinSize.
IsEmpty
) {
winforms\Managed\System\WinForms\TabControl.cs (1)
556
if (itemSize.
IsEmpty
) {
winforms\Managed\System\WinForms\ToolBar.cs (5)
375
if (buttonSize.
IsEmpty
) {
1132
if (buttons != null && buttonSize.
IsEmpty
&& IsHandleCreated) {
1341
if (!buttonSize.
IsEmpty
) {
1398
if (!buttonSize.
IsEmpty
) {
1485
return !buttonSize.
IsEmpty
;
winforms\Managed\System\WinForms\ToolBarButton.cs (1)
480
if (!(buttonSize.
IsEmpty
)) {
winforms\Managed\System\WinForms\ToolStripDropDown.cs (4)
1702
if (!MinimumSize.
IsEmpty
) {
1705
if (!MaximumSize.
IsEmpty
) {
1734
if (!MinimumSize.
IsEmpty
) {
1737
if (!MaximumSize.
IsEmpty
) {
System.Windows.Forms.DataVisualization (5)
Common\Converters\LegendConverters.cs (1)
271
if(((System.Drawing.Size)value).
IsEmpty
)
Common\General\Legend.cs (1)
507
if(!highestHeader.
IsEmpty
)
Common\General\LegendColumns.cs (3)
1487
!this._cachedCellSize.
IsEmpty
)
1505
if(this.ImageSize.
IsEmpty
&& this.Image.Length > 0)
2106
if(!this.ImageSize.
IsEmpty
)
System.Workflow.Activities (3)
Designers\StateDesigner.cs (1)
1532
this.NeedsAutoLayout = this.Size.
IsEmpty
;
Designers\StateDesignerConnector.cs (1)
227
if (!size.
IsEmpty
)
Designers\StateMachineDesignerPaint.cs (1)
33
if (maxSize.
IsEmpty
)
System.Workflow.ComponentModel (25)
AuthoringOM\Design\ActivityDesigner.cs (4)
411
if (!imageRectangle.Size.
IsEmpty
)
1577
if (!textRectangle.Size.
IsEmpty
)
1674
if (!String.IsNullOrEmpty(Text) && !TextRectangle.Size.
IsEmpty
)
1680
if (Image != null && !ImageRectangle.Size.
IsEmpty
)
AuthoringOM\Design\ActivityPreviewDesigner.cs (1)
1054
while (accessibilityObject.Bounds.Size.
IsEmpty
&& accessibilityObject.GetChildCount() > 0)
AuthoringOM\Design\CompositeActivityDesigner.cs (8)
242
Size anchorSize = (!textSize.
IsEmpty
) ? textSize : imageSize;
265
if (!textRectangle.Size.
IsEmpty
)
275
if (!expandButtonRectangle.Size.
IsEmpty
|| !textRectangle.Size.
IsEmpty
|| !imageRectangle.Size.
IsEmpty
)
278
if (!imageRectangle.Size.
IsEmpty
&& !textRectangle.Size.
IsEmpty
)
1237
if (!expandButtonRectangle.Size.
IsEmpty
)
AuthoringOM\Design\Connector.cs (1)
516
if (!size.
IsEmpty
)
AuthoringOM\Design\DesignerHelpers.cs (2)
65
if (maxSize.
IsEmpty
)
199
if (size.
IsEmpty
|| destination.IsEmpty)
AuthoringOM\Design\Glyphs\ShadowGlyph.cs (1)
39
if (!bounds.Size.
IsEmpty
)
AuthoringOM\Design\SequentialActivityDesigner.cs (1)
406
if (CurrentDropTarget == -1 && !helpTextRectangle.Size.
IsEmpty
)
AuthoringOM\Design\SequentialWorkflowHeaderFooter.cs (4)
109
if (!textBounds.Size.
IsEmpty
|| !imageBounds.Size.
IsEmpty
)
209
if (!String.IsNullOrEmpty(Text) && !TextRectangle.Size.
IsEmpty
&& e.DesignerTheme != null && e.DesignerTheme.Font != null)
216
if (Image != null && !ImageRectangle.Size.
IsEmpty
)
AuthoringOM\Design\StructuredCompositeActivityDesigner.cs (1)
216
return (!String.IsNullOrEmpty(Text) && !TextRectangle.Size.
IsEmpty
&& Views.Count > 1);
AuthoringOM\Design\WorkflowLayouts.cs (1)
726
if (!rootDesignerSize.
IsEmpty
)
AuthoringOM\Design\WorkflowView.cs (1)
1653
if (!viewPortData.ShadowDepth.
IsEmpty
)