1 type derived from ToolStripRenderEventArgs
System.Windows.Forms (1)
System\Windows\Forms\Controls\ToolStrips\ToolStripGripRenderEventArgs.cs (1)
8
public class ToolStripGripRenderEventArgs :
ToolStripRenderEventArgs
14 instantiations of ToolStripRenderEventArgs
System.Windows.Forms (6)
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (1)
328
Renderer.DrawStatusStripSizingGrip(new
ToolStripRenderEventArgs
(e.Graphics, this));
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (2)
3592
Renderer.DrawToolStripBorder(new
ToolStripRenderEventArgs
(toolstripGraphics, this));
3650
Renderer.DrawToolStripBackground(new
ToolStripRenderEventArgs
(g, this));
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownMenu.cs (1)
564
Renderer.DrawImageMargin(new
ToolStripRenderEventArgs
(e.Graphics, this, ImageMargin, SystemColors.Control));
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.FeedbackRectangle.FeedbackDropDown.cs (2)
82
Renderer.DrawToolStripBackground(new
ToolStripRenderEventArgs
(e.Graphics, this));
83
Renderer.DrawToolStripBorder(new
ToolStripRenderEventArgs
(e.Graphics, this));
System.Windows.Forms.Tests (8)
System\Windows\Forms\ToolStripRendererTests.cs (4)
487
ToolStripRenderEventArgs eventArgs =
new
(graphics, toolStrip);
522
yield return new object[] { new
ToolStripRenderEventArgs
(graphics, new ToolStrip()) };
523
yield return new object[] { new
ToolStripRenderEventArgs
(graphics, new StatusStrip()) };
920
ToolStripRenderEventArgs e =
new
(graphics, toolStrip);
System\Windows\Forms\ToolStripRenderEventArgsTests.cs (4)
24
Assert.Throws<ArgumentNullException>(() => new
ToolStripRenderEventArgs
(g, toolStrip));
42
ToolStripRenderEventArgs e =
new
(graphics, toolStrip);
66
ToolStripRenderEventArgs e =
new
(graphics, toolStrip, affectedBounds, backColor);
94
ToolStripRenderEventArgs e =
new
(graphics, toolStrip, new Rectangle(1, 2, 3, 4), Color.Empty);
51 references to ToolStripRenderEventArgs
System.Windows.Forms (33)
System\Windows\Forms\Controls\ToolStrips\ToolStripHighContrastRenderer.cs (5)
123
protected override void OnRenderImageMargin(
ToolStripRenderEventArgs
e)
159
protected override void OnRenderStatusStripSizingGrip(
ToolStripRenderEventArgs
e)
251
protected override void OnRenderToolStripBackground(
ToolStripRenderEventArgs
e)
256
protected override void OnRenderToolStripBorder(
ToolStripRenderEventArgs
e)
285
private void RenderToolStripBackgroundInternal(
ToolStripRenderEventArgs
e)
System\Windows\Forms\Controls\ToolStrips\ToolStripProfessionalLowResolutionRenderer.cs (3)
23
protected override void OnRenderToolStripBackground(
ToolStripRenderEventArgs
e)
31
protected override void OnRenderToolStripBorder(
ToolStripRenderEventArgs
e)
51
private static void RenderToolStripBorderInternal(
ToolStripRenderEventArgs
e)
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (11)
110
protected override void OnRenderToolStripBackground(
ToolStripRenderEventArgs
e)
393
protected override void OnRenderToolStripBorder(
ToolStripRenderEventArgs
e)
687
protected override void OnRenderImageMargin(
ToolStripRenderEventArgs
e)
901
private void RenderOverflowButtonEffectsOverBorder(
ToolStripRenderEventArgs
e)
1023
private void RenderStatusStripBorder(
ToolStripRenderEventArgs
e)
1029
private void RenderStatusStripBackground(
ToolStripRenderEventArgs
e)
1099
private void RenderMenuStripBackground(
ToolStripRenderEventArgs
e)
1169
private void RenderToolStripBackgroundInternal(
ToolStripRenderEventArgs
e)
1181
private void RenderToolStripDropDownBackground(
ToolStripRenderEventArgs
e)
1189
private void RenderToolStripDropDownBorder(
ToolStripRenderEventArgs
e)
1336
private void RenderToolStripCurve(
ToolStripRenderEventArgs
e)
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderer.cs (8)
332
public void DrawToolStripBackground(
ToolStripRenderEventArgs
e)
370
public void DrawImageMargin(
ToolStripRenderEventArgs
e)
405
public void DrawToolStripBorder(
ToolStripRenderEventArgs
e)
520
public void DrawStatusStripSizingGrip(
ToolStripRenderEventArgs
e)
671
protected virtual void OnRenderToolStripBackground(
ToolStripRenderEventArgs
e)
683
protected virtual void OnRenderToolStripBorder(
ToolStripRenderEventArgs
e)
719
protected virtual void OnRenderImageMargin(
ToolStripRenderEventArgs
e)
956
protected virtual void OnRenderStatusStripSizingGrip(
ToolStripRenderEventArgs
e)
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderEventHandler.cs (1)
9
public delegate void ToolStripRenderEventHandler(object? sender,
ToolStripRenderEventArgs
e);
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemRenderer.cs (5)
183
protected override void OnRenderToolStripBackground(
ToolStripRenderEventArgs
e)
235
protected override void OnRenderToolStripBorder(
ToolStripRenderEventArgs
e)
339
protected override void OnRenderImageMargin(
ToolStripRenderEventArgs
e)
762
private static void RenderStatusStripBorder(
ToolStripRenderEventArgs
e)
770
private static void RenderStatusStripBackground(
ToolStripRenderEventArgs
e)
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\NoBorderRenderer.cs (1)
8
protected override void OnRenderToolStripBorder(
ToolStripRenderEventArgs
e)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (2)
1852
protected override void OnRenderToolStripBackground(
ToolStripRenderEventArgs
e)
1868
protected override void OnRenderToolStripBorder(
ToolStripRenderEventArgs
e)
System.Windows.Forms.Tests (15)
System\Windows\Forms\ToolStripRendererTests.cs (12)
270
public void ToolStripRenderer_DrawImageMargin_Invoke_CallsRenderImageMargin(
ToolStripRenderEventArgs
eventArgs)
487
ToolStripRenderEventArgs
eventArgs = new(graphics, toolStrip);
528
public void ToolStripRenderer_DrawToolStripBackground_Invoke_CallsRenderToolStripBackground(
ToolStripRenderEventArgs
eventArgs)
552
public void ToolStripRenderer_DrawToolStripBorder_Invoke_CallsRenderToolStripBorder(
ToolStripRenderEventArgs
eventArgs)
777
public void ToolStripRenderer_OnRenderImageMargin_Invoke_Nop(
ToolStripRenderEventArgs
e)
920
ToolStripRenderEventArgs
e = new(graphics, toolStrip);
938
public void ToolStripRenderer_OnRenderToolStripBackground_Invoke_Nop(
ToolStripRenderEventArgs
e)
949
public void ToolStripRenderer_OnRenderToolStripBorder_Invoke_Nop(
ToolStripRenderEventArgs
e)
1039
public new void OnRenderImageMargin(
ToolStripRenderEventArgs
e) => base.OnRenderImageMargin(e);
1059
public new void OnRenderStatusStripSizingGrip(
ToolStripRenderEventArgs
e) => base.OnRenderStatusStripSizingGrip(e);
1061
public new void OnRenderToolStripBackground(
ToolStripRenderEventArgs
e) => base.OnRenderToolStripBackground(e);
1063
public new void OnRenderToolStripBorder(
ToolStripRenderEventArgs
e) => base.OnRenderToolStripBorder(e);
System\Windows\Forms\ToolStripRenderEventArgsTests.cs (3)
42
ToolStripRenderEventArgs
e = new(graphics, toolStrip);
66
ToolStripRenderEventArgs
e = new(graphics, toolStrip, affectedBounds, backColor);
94
ToolStripRenderEventArgs
e = new(graphics, toolStrip, new Rectangle(1, 2, 3, 4), Color.Empty);