10 references to DrawItemImage
System.Windows.Forms (7)
System\Windows\Forms\Controls\ToolStrips\ToolStripButton.cs (1)
216
renderer.
DrawItemImage
(rea);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownButton.cs (1)
188
renderer.
DrawItemImage
(new ToolStripItemImageRenderEventArgs(g, this, InternalLayout.ImageRectangle));
System\Windows\Forms\Controls\ToolStrips\ToolStripLabel.cs (1)
342
renderer.
DrawItemImage
(new ToolStripItemImageRenderEventArgs(e.Graphics, this, InternalLayout.ImageRectangle));
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (2)
1017
renderer.
DrawItemImage
(new ToolStripItemImageRenderEventArgs(g, this, InternalLayout.ImageRectangle));
1030
renderer.
DrawItemImage
(new ToolStripItemImageRenderEventArgs(g, this, InternalLayout.ImageRectangle));
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitButton.cs (1)
523
renderer.
DrawItemImage
(new ToolStripItemImageRenderEventArgs(g, this, SplitButtonButtonLayout.ImageRectangle));
System\Windows\Forms\Controls\ToolStrips\ToolStripStatusLabel.cs (1)
202
renderer.
DrawItemImage
(new ToolStripItemImageRenderEventArgs(e.Graphics, this, InternalLayout.ImageRectangle));
System.Windows.Forms.Tests (3)
System\Windows\Forms\ToolStripRendererTests.cs (3)
252
renderer.
DrawItemImage
(eventArgs);
257
renderer.
DrawItemImage
(eventArgs);
265
Assert.Throws<ArgumentNullException>("e", () => renderer.
DrawItemImage
(null));