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