5 instantiations of ToolStripSeparatorRenderEventArgs
System.Windows.Forms (1)
System\Windows\Forms\Controls\ToolStrips\ToolStripSeparator.cs (1)
292
Renderer!.DrawSeparator(new
ToolStripSeparatorRenderEventArgs
(e.Graphics, this, IsVertical));
System.Windows.Forms.Tests (4)
System\Windows\Forms\ToolStripRendererTests.cs (2)
421
yield return new object[] { new
ToolStripSeparatorRenderEventArgs
(graphics, new ToolStripSeparator(), true) };
422
yield return new object[] { new
ToolStripSeparatorRenderEventArgs
(graphics, new ToolStripSeparator(), false) };
System\Windows\Forms\ToolStripSeparatorRenderEventArgsTests.cs (2)
24
Assert.Throws<ArgumentNullException>(() => new
ToolStripSeparatorRenderEventArgs
(g, toolStripSeparator, true));
39
ToolStripSeparatorRenderEventArgs e =
new
(g, separator, vertical);
10 references to ToolStripSeparatorRenderEventArgs
System.Windows.Forms (6)
System\Windows\Forms\Controls\ToolStrips\ToolStripHighContrastRenderer.cs (1)
345
protected override void OnRenderSeparator(
ToolStripSeparatorRenderEventArgs
e)
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (1)
240
protected override void OnRenderSeparator(
ToolStripSeparatorRenderEventArgs
e)
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderer.cs (2)
533
public void DrawSeparator(
ToolStripSeparatorRenderEventArgs
e)
920
protected virtual void OnRenderSeparator(
ToolStripSeparatorRenderEventArgs
e)
System\Windows\Forms\Controls\ToolStrips\ToolStripSeparatorRenderEventHandler.cs (1)
9
public delegate void ToolStripSeparatorRenderEventHandler(object? sender,
ToolStripSeparatorRenderEventArgs
e);
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemRenderer.cs (1)
488
protected override void OnRenderSeparator(
ToolStripSeparatorRenderEventArgs
e)
System.Windows.Forms.Tests (4)
System\Windows\Forms\ToolStripRendererTests.cs (3)
427
public void ToolStripRenderer_DrawSeparator_Invoke_CallsRenderSeparator(
ToolStripSeparatorRenderEventArgs
eventArgs)
894
public void ToolStripRenderer_OnRenderSeparator_Invoke_Nop(
ToolStripSeparatorRenderEventArgs
e)
1055
public new void OnRenderSeparator(
ToolStripSeparatorRenderEventArgs
e) => base.OnRenderSeparator(e);
System\Windows\Forms\ToolStripSeparatorRenderEventArgsTests.cs (1)
39
ToolStripSeparatorRenderEventArgs
e = new(g, separator, vertical);