36 references to TextureBrush
System.Drawing.Common.Tests (30)
System\Drawing\PenTests.cs (1)
16
yield return new object[] { new
TextureBrush
(new Bitmap(1, 1)), PenType.TextureFill };
System\Drawing\TextureBrushTests.cs (29)
23
using TextureBrush brush =
new
(bitmap);
241
AssertExtensions.Throws<ArgumentNullException>("image", () => new
TextureBrush
((Image)null));
257
AssertExtensions.Throws<ArgumentException>(null, () => new
TextureBrush
(image));
315
TextureBrush brush =
new
(image);
325
TextureBrush brush =
new
(image);
346
using TextureBrush brush =
new
(image);
372
using TextureBrush brush =
new
(image);
381
using TextureBrush brush =
new
(image);
391
using TextureBrush brush =
new
(image);
410
using TextureBrush brush =
new
(image);
424
TextureBrush brush =
new
(image);
435
using TextureBrush brush =
new
(image);
450
TextureBrush brush =
new
(image);
475
using TextureBrush brush =
new
(image);
502
using TextureBrush brush =
new
(image);
511
TextureBrush brush =
new
(image);
539
using TextureBrush brush =
new
(image);
566
using TextureBrush brush =
new
(image);
575
TextureBrush brush =
new
(image);
586
using TextureBrush brush =
new
(image);
596
using TextureBrush brush =
new
(image);
604
using TextureBrush brush =
new
(image);
616
TextureBrush brush =
new
(image);
644
using TextureBrush brush =
new
(image);
671
using TextureBrush brush =
new
(image);
680
TextureBrush brush =
new
(image);
696
using TextureBrush brush =
new
(image);
707
using TextureBrush brush =
new
(image);
715
TextureBrush brush =
new
(image);
System.Windows.Forms (6)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (1)
82
return new
TextureBrush
(bitmap);
System\Windows\Forms\Rendering\ControlPaint.cs (5)
1548
t_gridBrush = new
TextureBrush
(bitmap);
2119
t_frameBrushActive = new
TextureBrush
(bitmap);
2188
using (Brush brush = new
TextureBrush
(b))
2198
using (Brush brush = new
TextureBrush
(b))
2250
t_frameBrushSelected = new
TextureBrush
(bitmap);