27 references to Empty
Microsoft.Maui (3)
Handlers\Stepper\StepperHandler.iOS.cs (1)
14
return new UIStepper(RectangleF.
Empty
);
Platform\iOS\MauiSearchBar.cs (1)
13
public MauiSearchBar() : this(RectangleF.
Empty
)
Platform\iOS\MauiWKWebView.cs (1)
23
: this(RectangleF.
Empty
, handler)
Microsoft.Maui.Controls.Compatibility (3)
iOS\Renderers\ActivityIndicatorRenderer.cs (2)
55
SetNativeControl(new UIActivityIndicatorViewDelegate(RectangleF.
Empty
, e.NewElement) { ActivityIndicatorViewStyle = UIActivityIndicatorViewStyle.Medium });
57
SetNativeControl(new UIActivityIndicatorViewDelegate(RectangleF.
Empty
, e.NewElement) { ActivityIndicatorViewStyle = UIActivityIndicatorViewStyle.Gray });
iOS\Renderers\StepperRenderer.cs (1)
44
SetNativeControl(new UIStepper(RectangleF.
Empty
));
System.Drawing.Common.Tests (17)
System\Drawing\RegionTests.cs (10)
323
new RectangleF[] { RectangleF.
Empty
},
634
new RectangleF[] { RectangleF.
Empty
},
654
new RectangleF[] { RectangleF.
Empty
},
1076
new RectangleF[] { RectangleF.
Empty
},
1090
new RectangleF[] { RectangleF.
Empty
},
1445
Assert.Equal(RectangleF.
Empty
, region.GetBounds(s_graphic));
1498
new RectangleF[] { RectangleF.
Empty
},
1531
new RectangleF[] { RectangleF.
Empty
},
1983
new RectangleF[] { RectangleF.
Empty
},
2010
new RectangleF[] { RectangleF.
Empty
},
System\Drawing\TextureBrushTests.cs (7)
243
AssertExtensions.Throws<ArgumentNullException>("image", () => new TextureBrush(null, RectangleF.
Empty
));
245
AssertExtensions.Throws<ArgumentNullException>("image", () => new TextureBrush(null, RectangleF.
Empty
, null));
247
AssertExtensions.Throws<ArgumentNullException>("image", () => new TextureBrush(null, WrapMode.Tile, RectangleF.
Empty
));
259
AssertExtensions.Throws<ArgumentException>(null, () => new TextureBrush(image, RectangleF.
Empty
));
261
AssertExtensions.Throws<ArgumentException>(null, () => new TextureBrush(image, RectangleF.
Empty
, null));
263
AssertExtensions.Throws<ArgumentException>(null, () => new TextureBrush(image, WrapMode.Tile, RectangleF.
Empty
));
274
Assert.ThrowsAny<ArgumentException>(() => new TextureBrush(image, wrapMode, RectangleF.
Empty
));
System.Drawing.Primitives (1)
System\Drawing\RectangleF.cs (1)
283
return
Empty
;
System.Windows.Forms (2)
System\Windows\Forms\Controls\Labels\LinkLabel.cs (2)
1027
RectangleF focusRectangle = RectangleF.
Empty
;
1325
Debug.Assert(focusRectangle != RectangleF.
Empty
, "focusRectangle should be initialized");
System.Windows.Forms.Tests (1)
System\Windows\Forms\ControlPaintTests.cs (1)
1901
yield return new object[] { s, SystemFonts.MenuFont, Color.Red, RectangleF.
Empty
, new StringFormat() };