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