32 references to Tile
System.Drawing.Common.Tests (30)
System\Drawing\Drawing2D\LinearGradientBrushTests.cs (10)
32Assert.Equal(WrapMode.Tile, brush.WrapMode); 59Assert.Equal(WrapMode.Tile, brush.WrapMode); 93Assert.Equal(WrapMode.Tile, brush.WrapMode); 110Assert.Equal(WrapMode.Tile, brush.WrapMode); 136Assert.Equal(WrapMode.Tile, brush.WrapMode); 153Assert.Equal(WrapMode.Tile, brush.WrapMode); 179Assert.Equal(WrapMode.Tile, brush.WrapMode); 196Assert.Equal(WrapMode.Tile, brush.WrapMode); 600[InlineData(WrapMode.Tile)] 611[InlineData(WrapMode.Tile - 1)]
System\Drawing\Drawing2D\PathGradientBrushTests.cs (1)
48yield return new object[] { WrapMode.Tile };
System\Drawing\TextureBrushTests.cs (19)
30Assert.Equal(WrapMode.Tile, brush.WrapMode); 51yield return new object[] { ((Image)data[0]).Clone(), WrapMode.Tile, data[1], data[2] }; 98Assert.Equal(WrapMode.Tile, brush.WrapMode); 119Assert.Equal(WrapMode.Tile, brush.WrapMode); 132yield return new object[] { ((Image)data[0]).Clone(), WrapMode.Tile, data[1] }; 185yield return new object[] { ((Image)data[0]).Clone(), data[1], null, WrapMode.Tile }; 242AssertExtensions.Throws<ArgumentNullException>("image", () => new TextureBrush(null, WrapMode.Tile)); 247AssertExtensions.Throws<ArgumentNullException>("image", () => new TextureBrush(null, WrapMode.Tile, RectangleF.Empty)); 248AssertExtensions.Throws<ArgumentNullException>("image", () => new TextureBrush(null, WrapMode.Tile, Rectangle.Empty)); 258AssertExtensions.Throws<ArgumentException>(null, () => new TextureBrush(image, WrapMode.Tile)); 263AssertExtensions.Throws<ArgumentException>(null, () => new TextureBrush(image, WrapMode.Tile, RectangleF.Empty)); 264AssertExtensions.Throws<ArgumentException>(null, () => new TextureBrush(image, WrapMode.Tile, Rectangle.Empty)); 268[InlineData(WrapMode.Tile - 1)] 293Assert.Throws<OutOfMemoryException>(() => new TextureBrush(image, WrapMode.Tile, rectangle)); 294Assert.Throws<OutOfMemoryException>(() => new TextureBrush(image, WrapMode.Tile, (RectangleF)rectangle)); 689[InlineData(WrapMode.Tile)] 702[InlineData(WrapMode.Tile - 1)] 719AssertExtensions.Throws<ArgumentException>(null, () => brush.WrapMode = WrapMode.Tile); 746VerifyFillRect(WrapMode.Tile,
System.Windows.Forms (2)
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
1556using TextureBrush textureBrush = new(BackgroundImage, WrapMode.Tile);
System\Windows\Forms\Rendering\ControlPaint.cs (1)
428using TextureBrush textureBrush = new(backgroundImage, WrapMode.Tile);