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