ToolStripArrowRenderEventArgs Konstruktor

Definition

Initierar en ny instans av ToolStripArrowRenderEventArgs klassen.

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)

Parametrar

g
Graphics

Grafiken som används för att måla pilen ToolStrip .

toolStripItem
ToolStripItem

Den ToolStripItem som pilen ska målas på.

arrowRectangle
Rectangle

Pilens ToolStrip avgränsningsområde.

arrowColor
Color

Pilens ToolStrip färg.

arrowDirection
ArrowDirection

Riktningen som pilen ToolStrip pekar i.

Undantag

g är null.

Gäller för