Bewerken

Share via


ToolStripArrowRenderEventArgs Constructor

Definition

Initializes a new instance of the ToolStripArrowRenderEventArgs class.

public:
 ToolStripArrowRenderEventArgs(System::Drawing::Graphics ^ g, System::Windows::Forms::ToolStripItem ^ toolStripItem, System::Drawing::Rectangle arrowRectangle, System::Drawing::Color arrowColor, System::Windows::Forms::ArrowDirection arrowDirection);
public ToolStripArrowRenderEventArgs (System.Drawing.Graphics g, System.Windows.Forms.ToolStripItem toolStripItem, System.Drawing.Rectangle arrowRectangle, System.Drawing.Color arrowColor, System.Windows.Forms.ArrowDirection arrowDirection);
public ToolStripArrowRenderEventArgs (System.Drawing.Graphics g, System.Windows.Forms.ToolStripItem? toolStripItem, System.Drawing.Rectangle arrowRectangle, System.Drawing.Color arrowColor, System.Windows.Forms.ArrowDirection arrowDirection);
new System.Windows.Forms.ToolStripArrowRenderEventArgs : System.Drawing.Graphics * System.Windows.Forms.ToolStripItem * System.Drawing.Rectangle * System.Drawing.Color * System.Windows.Forms.ArrowDirection -> System.Windows.Forms.ToolStripArrowRenderEventArgs
Public Sub New (g As Graphics, toolStripItem As ToolStripItem, arrowRectangle As Rectangle, arrowColor As Color, arrowDirection As ArrowDirection)

Parameters

g
Graphics

The graphics used to paint the ToolStrip arrow.

toolStripItem
ToolStripItem

The ToolStripItem on which to paint the arrow.

arrowRectangle
Rectangle

The bounding area of the ToolStrip arrow.

arrowColor
Color

The color of the ToolStrip arrow.

arrowDirection
ArrowDirection

The direction in which the ToolStrip arrow points.

Exceptions

Applies to