5 references to PaintValue
System.Windows.Forms.Design (3)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (1)
601item.Editor.PaintValue(item.Value, g, baseVar);
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (1)
296_editor.PaintValue(Value, swatchGraphics, rect);
System\Drawing\Design\ColorEditor.ColorUI.cs (1)
275_editor.PaintValue(value, graphics, new Rectangle(die.Bounds.X + 2, die.Bounds.Y + 2, 22, die.Bounds.Height - 4));
System.Windows.Forms.Tests (2)
System\Drawing\Design\UITypeEditorTests.cs (2)
135mockEditor.Object.PaintValue(value, canvas, rectangle); 145Assert.Throws<ArgumentNullException>("graphics", () => editor.PaintValue(new object(), null, Rectangle.Empty));