16 instantiations of ToolStripItemImageRenderEventArgs
System.Windows.Forms (8)
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 (3)
987renderer.DrawItemCheck(new ToolStripItemImageRenderEventArgs(g, this, CheckedImage, checkRectangle)); 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 (8)
System\Windows\Forms\ToolStripItemImageRenderEventArgsTests.cs (4)
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)); 102ToolStripItemImageRenderEventArgs e = new(graphics, item, image, imageRectangle);
System\Windows\Forms\ToolStripRendererTests.cs (4)
206ToolStripItemImageRenderEventArgs eventArgs = new(graphics, item, image, imageRectangle); 239ToolStripItemImageRenderEventArgs eventArgs = new(graphics, item, image, imageRectangle); 801ToolStripItemImageRenderEventArgs e = new(graphics, item, image, imageRectangle); 821ToolStripItemImageRenderEventArgs e = new(graphics, item, image, imageRectangle);
21 references to ToolStripItemImageRenderEventArgs
System.Windows.Forms (12)
System\Windows\Forms\Controls\ToolStrips\ToolStripButton.cs (1)
212ToolStripItemImageRenderEventArgs rea = new(e.Graphics, this, InternalLayout.ImageRectangle)
System\Windows\Forms\Controls\ToolStrips\ToolStripHighContrastRenderer.cs (3)
105protected override void OnRenderItemCheck(ToolStripItemImageRenderEventArgs e) 385protected override void OnRenderItemImage(ToolStripItemImageRenderEventArgs e) 483private void RenderItemImageOfLowColorDepth(ToolStripItemImageRenderEventArgs e)
System\Windows\Forms\Controls\ToolStrips\ToolStripItemImageRenderEventHandler.cs (1)
9public delegate void ToolStripItemImageRenderEventHandler(object? sender, ToolStripItemImageRenderEventArgs e);
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (3)
723protected override void OnRenderItemCheck(ToolStripItemImageRenderEventArgs e) 735protected override void OnRenderItemImage(ToolStripItemImageRenderEventArgs e) 1043private void RenderCheckBackground(ToolStripItemImageRenderEventArgs e)
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderer.cs (4)
444public void DrawItemImage(ToolStripItemImageRenderEventArgs e) 457public void DrawItemCheck(ToolStripItemImageRenderEventArgs e) 768protected virtual void OnRenderItemImage(ToolStripItemImageRenderEventArgs e) 811protected virtual void OnRenderItemCheck(ToolStripItemImageRenderEventArgs e)
System.Windows.Forms.Tests (9)
System\Windows\Forms\ToolStripItemImageRenderEventArgsTests.cs (3)
64ToolStripItemImageRenderEventArgs e = new(g, item, imageRectangle); 82ToolStripItemImageRenderEventArgs e = new(g, item, new Rectangle(1, 2, 3, 4)); 102ToolStripItemImageRenderEventArgs e = new(graphics, item, image, imageRectangle);
System\Windows\Forms\ToolStripRendererTests.cs (6)
206ToolStripItemImageRenderEventArgs eventArgs = new(graphics, item, image, imageRectangle); 239ToolStripItemImageRenderEventArgs eventArgs = new(graphics, item, image, imageRectangle); 801ToolStripItemImageRenderEventArgs e = new(graphics, item, image, imageRectangle); 821ToolStripItemImageRenderEventArgs e = new(graphics, item, image, imageRectangle); 1043public new void OnRenderItemCheck(ToolStripItemImageRenderEventArgs e) => base.OnRenderItemCheck(e); 1045public new void OnRenderItemImage(ToolStripItemImageRenderEventArgs e) => base.OnRenderItemImage(e);