15 references to ToolStripItemRenderEventArgs
System.Windows.Forms (12)
System\Windows\Forms\Controls\ToolStrips\ToolStripButton.cs (1)
208
renderer.DrawButtonBackground(new
ToolStripItemRenderEventArgs
(e.Graphics, this));
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownButton.cs (1)
184
renderer.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)
338
renderer.DrawLabelBackground(new
ToolStripItemRenderEventArgs
(e.Graphics, this));
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
953
renderer.DrawMenuItemBackground(new
ToolStripItemRenderEventArgs
(g, this));
System\Windows\Forms\Controls\ToolStrips\ToolStripOverflowButton.cs (1)
114
renderer.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)
519
renderer.DrawSplitButton(new
ToolStripItemRenderEventArgs
(g, this));
System\Windows\Forms\Controls\ToolStrips\ToolStripStatusLabel.cs (1)
198
renderer.DrawToolStripStatusLabelBackground(new
ToolStripItemRenderEventArgs
(e.Graphics, this));
System.Windows.Forms.Tests (3)
System\Windows\Forms\ToolStripItemRenderEventArgsTests.cs (2)
24
Assert.Throws<ArgumentNullException>(() => new
ToolStripItemRenderEventArgs
(g, toolStripItem));
45
ToolStripItemRenderEventArgs e =
new
(g, item);
System\Windows\Forms\ToolStripRendererTests.cs (1)
81
yield return new object[] { new
ToolStripItemRenderEventArgs
(graphics, new SubToolStripItem()) };