15 references to ToolStripItemRenderEventArgs
System.Windows.Forms (12)
System\Windows\Forms\Controls\ToolStrips\ToolStripButton.cs (1)
208renderer.DrawButtonBackground(new ToolStripItemRenderEventArgs(e.Graphics, this));
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownButton.cs (1)
184renderer.DrawDropDownButtonBackground(new ToolStripItemRenderEventArgs(e.Graphics, this));
System\Windows\Forms\Controls\ToolStrips\ToolStripItemImageRenderEventArgs.cs (2)
12: base(g, item) 26: base(g, item)
System\Windows\Forms\Controls\ToolStrips\ToolStripItemTextRenderEventArgs.cs (2)
27: base(g, item) 50: base(g, item)
System\Windows\Forms\Controls\ToolStrips\ToolStripLabel.cs (1)
338renderer.DrawLabelBackground(new ToolStripItemRenderEventArgs(e.Graphics, this));
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
953renderer.DrawMenuItemBackground(new ToolStripItemRenderEventArgs(g, this));
System\Windows\Forms\Controls\ToolStrips\ToolStripOverflowButton.cs (1)
114renderer.DrawOverflowButtonBackground(new ToolStripItemRenderEventArgs(e.Graphics, this));
System\Windows\Forms\Controls\ToolStrips\ToolStripSeparatorRenderEventArgs.cs (1)
17: base(g, separator)
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitButton.cs (1)
519renderer.DrawSplitButton(new ToolStripItemRenderEventArgs(g, this));
System\Windows\Forms\Controls\ToolStrips\ToolStripStatusLabel.cs (1)
198renderer.DrawToolStripStatusLabelBackground(new ToolStripItemRenderEventArgs(e.Graphics, this));
System.Windows.Forms.Tests (3)
System\Windows\Forms\ToolStripItemRenderEventArgsTests.cs (2)
24Assert.Throws<ArgumentNullException>(() => new ToolStripItemRenderEventArgs(g, toolStripItem)); 45ToolStripItemRenderEventArgs e = new(g, item);
System\Windows\Forms\ToolStripRendererTests.cs (1)
81yield return new object[] { new ToolStripItemRenderEventArgs(graphics, new SubToolStripItem()) };