10 references to ToolStripItemImageRenderEventArgs
System.Windows.Forms (7)
System\Windows\Forms\Controls\ToolStrips\ToolStripButton.cs (1)
212
ToolStripItemImageRenderEventArgs rea =
new
(e.Graphics, this, InternalLayout.ImageRectangle)
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\ToolStripItemImageRenderEventArgsTests.cs (3)
24
Assert.Throws<ArgumentNullException>(() => new
ToolStripItemImageRenderEventArgs
(g, toolStripItem, Rectangle.Empty));
64
ToolStripItemImageRenderEventArgs e =
new
(g, item, imageRectangle);
82
ToolStripItemImageRenderEventArgs e =
new
(g, item, new Rectangle(1, 2, 3, 4));