共用方式為


ToolStripArrowRenderEventArgs 建構函式

定義

初始化 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)

參數

g
Graphics

繪製 ToolStrip 箭號所用的圖形。

toolStripItem
ToolStripItem

要在其上繪製箭號的 ToolStripItem

arrowRectangle
Rectangle

ToolStrip 箭號的周圍區域。

arrowColor
Color

ToolStrip 箭號的色彩。

arrowDirection
ArrowDirection

ToolStrip 箭號所指的方向。

例外狀況

g 為 null。

適用於