Udostępnij za pośrednictwem


ToolStripArrowRenderEventArgs Konstruktor

Definicja

Inicjuje nowe wystąpienie klasy ToolStripArrowRenderEventArgs.

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)

Parametry

g
Graphics

Grafika używana do malowania strzałki ToolStrip .

toolStripItem
ToolStripItem

Na ToolStripItem którym ma być malowana strzałka.

arrowRectangle
Rectangle

Obszar ograniczenia strzałki ToolStrip .

arrowColor
Color

Kolor strzałki ToolStrip .

arrowDirection
ArrowDirection

Kierunek, w którym strzałka ToolStrip wskazuje.

Wyjątki

g ma wartość null.

Dotyczy