17 instantiations of ToolStripArrowRenderEventArgs
System.Windows.Forms (8)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownButton.cs (1)
210
renderer.DrawArrow(new
ToolStripArrowRenderEventArgs
(g, this, dropDownArrowRect, arrowColor, ArrowDirection.Down));
System\Windows\Forms\Controls\ToolStrips\ToolStripHighContrastRenderer.cs (2)
155
DrawArrow(new
ToolStripArrowRenderEventArgs
(g, item, dropDownRect, arrowColor, ArrowDirection.Down));
208
DrawArrow(new
ToolStripArrowRenderEventArgs
(g, item, new Rectangle(Point.Empty, item.Size), arrowColor, ArrowDirection.Down));
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
1012
renderer.DrawArrow(new
ToolStripArrowRenderEventArgs
(g, this, menuItemInternalLayout.ArrowRectangle, arrowColor, arrowDir));
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (1)
307
DrawArrow(new
ToolStripArrowRenderEventArgs
(g, item, dropDownRect, SystemColors.ControlText, ArrowDirection.Down));
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemRenderer.cs (3)
394
DrawArrow(new
ToolStripArrowRenderEventArgs
(g, item, new Rectangle(Point.Empty, item.Size), arrowColor, ArrowDirection.Down));
577
DrawArrow(new
ToolStripArrowRenderEventArgs
(g, splitButton, splitButton.DropDownButtonBounds, arrowColor, ArrowDirection.Down));
630
DrawArrow(new
ToolStripArrowRenderEventArgs
(g, splitButton, dropDownRect, arrowColor, ArrowDirection.Down));
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (2)
1815
DrawArrow(new
ToolStripArrowRenderEventArgs
(g, null, bounds, SystemInformation.HighContrast ? Color.Black : SystemColors.ControlText, ArrowDirection.Down));
2037
DrawArrow(new
ToolStripArrowRenderEventArgs
(g, splitButton, splitButton.DropDownButtonBounds, SystemColors.ControlText, ArrowDirection.Down));
System.Windows.Forms.Tests (7)
System\Windows\Forms\ToolStripArrowRenderEventArgsTests.cs (5)
14
Assert.Throws<ArgumentNullException>(() => new
ToolStripArrowRenderEventArgs
(null, toolStripButton, Rectangle.Empty, Color.Empty, ArrowDirection.Up));
30
ToolStripArrowRenderEventArgs e =
new
(g, toolStripItem, arrowRectangle, arrowColor, arrowDirection);
52
ToolStripArrowRenderEventArgs e =
new
(graphics, button, new Rectangle(1, 2, 3, 4), Color.Blue, ArrowDirection.Down)
72
ToolStripArrowRenderEventArgs e =
new
(graphics, button, new Rectangle(1, 2, 3, 4), Color.Blue, ArrowDirection.Down)
87
ToolStripArrowRenderEventArgs e =
new
(graphics, button, new Rectangle(1, 2, 3, 4), Color.Blue, ArrowDirection.Down)
System\Windows\Forms\ToolStripRendererTests.cs (2)
46
ToolStripArrowRenderEventArgs eventArgs =
new
(graphics, toolStripItem, arrowRectangle, arrowColor, arrowDirection);
726
ToolStripArrowRenderEventArgs e =
new
(graphics, toolStripItem, arrowRectangle, arrowColor, arrowDirection);
12 references to ToolStripArrowRenderEventArgs
System.Windows.Forms (5)
System\Windows\Forms\Controls\ToolStrips\ToolStripArrowRenderEventHandler.cs (1)
6
public delegate void ToolStripArrowRenderEventHandler(object? sender,
ToolStripArrowRenderEventArgs
e);
System\Windows\Forms\Controls\ToolStrips\ToolStripHighContrastRenderer.cs (1)
47
protected override void OnRenderArrow(
ToolStripArrowRenderEventArgs
e)
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (1)
669
protected override void OnRenderArrow(
ToolStripArrowRenderEventArgs
e)
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderer.cs (2)
319
public void DrawArrow(
ToolStripArrowRenderEventArgs
e)
605
protected virtual void OnRenderArrow(
ToolStripArrowRenderEventArgs
e)
System.Windows.Forms.Tests (7)
System\Windows\Forms\ToolStripArrowRenderEventArgsTests.cs (4)
30
ToolStripArrowRenderEventArgs
e = new(g, toolStripItem, arrowRectangle, arrowColor, arrowDirection);
52
ToolStripArrowRenderEventArgs
e = new(graphics, button, new Rectangle(1, 2, 3, 4), Color.Blue, ArrowDirection.Down)
72
ToolStripArrowRenderEventArgs
e = new(graphics, button, new Rectangle(1, 2, 3, 4), Color.Blue, ArrowDirection.Down)
87
ToolStripArrowRenderEventArgs
e = new(graphics, button, new Rectangle(1, 2, 3, 4), Color.Blue, ArrowDirection.Down)
System\Windows\Forms\ToolStripRendererTests.cs (3)
46
ToolStripArrowRenderEventArgs
eventArgs = new(graphics, toolStripItem, arrowRectangle, arrowColor, arrowDirection);
726
ToolStripArrowRenderEventArgs
e = new(graphics, toolStripItem, arrowRectangle, arrowColor, arrowDirection);
1031
public new void OnRenderArrow(
ToolStripArrowRenderEventArgs
e) => base.OnRenderArrow(e);