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。

适用于