10 references to ToolStripItemImageRenderEventArgs
System.Windows.Forms (7)
System\Windows\Forms\Controls\ToolStrips\ToolStripButton.cs (1)
212ToolStripItemImageRenderEventArgs rea = new(e.Graphics, this, InternalLayout.ImageRectangle)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownButton.cs (1)
188renderer.DrawItemImage(new ToolStripItemImageRenderEventArgs(g, this, InternalLayout.ImageRectangle));
System\Windows\Forms\Controls\ToolStrips\ToolStripLabel.cs (1)
342renderer.DrawItemImage(new ToolStripItemImageRenderEventArgs(e.Graphics, this, InternalLayout.ImageRectangle));
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (2)
1017renderer.DrawItemImage(new ToolStripItemImageRenderEventArgs(g, this, InternalLayout.ImageRectangle)); 1030renderer.DrawItemImage(new ToolStripItemImageRenderEventArgs(g, this, InternalLayout.ImageRectangle));
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitButton.cs (1)
523renderer.DrawItemImage(new ToolStripItemImageRenderEventArgs(g, this, SplitButtonButtonLayout.ImageRectangle));
System\Windows\Forms\Controls\ToolStrips\ToolStripStatusLabel.cs (1)
202renderer.DrawItemImage(new ToolStripItemImageRenderEventArgs(e.Graphics, this, InternalLayout.ImageRectangle));
System.Windows.Forms.Tests (3)
System\Windows\Forms\ToolStripItemImageRenderEventArgsTests.cs (3)
24Assert.Throws<ArgumentNullException>(() => new ToolStripItemImageRenderEventArgs(g, toolStripItem, Rectangle.Empty)); 64ToolStripItemImageRenderEventArgs e = new(g, item, imageRectangle); 82ToolStripItemImageRenderEventArgs e = new(g, item, new Rectangle(1, 2, 3, 4));