11 references to PaintValueEventArgs
System.Windows.Forms (2)
System\Drawing\Design\UITypeEditor.cs (1)
129
=> PaintValue(new
PaintValueEventArgs
(null, value, canvas, rectangle));
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
1853
UITypeEditor?.PaintValue(new
PaintValueEventArgs
(this, value, g, rectPaint));
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ImageIndexEditor.cs (1)
133
ImageEditor.PaintValue(new
PaintValueEventArgs
(e.Context, image, e.Graphics, e.Bounds));
System\Windows\Forms\Design\ImageListImageEditor.cs (1)
118
e = new
PaintValueEventArgs
(e.Context, image.Image, e.Graphics, e.Bounds);
System.Windows.Forms.Design.Tests (4)
System\Drawing\Design\FontNameEditorTests.cs (1)
87
e = new
PaintValueEventArgs
(_typeDescriptorContext, fontName, g, Rectangle.Empty);
System\Drawing\Design\ImageEditorTests.cs (2)
170
PaintValueEventArgs e =
new
(null, otherImage, graphics, new Rectangle(1, 2, 3, 4));
187
PaintValueEventArgs e =
new
(null, value, graphics, new Rectangle(1, 2, 3, 4));
System\Windows\Forms\Design\ImageIndexEditorTests.cs (1)
37
PaintValueEventArgs paintValueEventArgs =
new
(_context, value, graphics, new Rectangle(0, 0, 10, 10));
System.Windows.Forms.Tests (3)
System\Drawing\Design\PaintValueEventArgsTests.cs (2)
25
PaintValueEventArgs e =
new
(context, value, graphics, bounds);
35
AssertExtensions.Throws<ArgumentNullException>("graphics", () => new
PaintValueEventArgs
(null, new object(), null, Rectangle.Empty));
System\Drawing\Design\UITypeEditorTests.cs (1)
103
yield return new object[] { new
PaintValueEventArgs
(null, null, graphics, Rectangle.Empty) };