ToolStripRenderEventArgs ToolStripRenderEventArgs ToolStripRenderEventArgs Constructors

Definition

Overloads

ToolStripRenderEventArgs(Graphics, ToolStrip) ToolStripRenderEventArgs(Graphics, ToolStrip) ToolStripRenderEventArgs(Graphics, ToolStrip)

Initializes a new instance of the ToolStripRenderEventArgs class for the specified ToolStrip and using the specified Graphics.

ToolStripRenderEventArgs(Graphics, ToolStrip, Rectangle, Color) ToolStripRenderEventArgs(Graphics, ToolStrip, Rectangle, Color) ToolStripRenderEventArgs(Graphics, ToolStrip, Rectangle, Color)

Initializes a new instance of the ToolStripRenderEventArgs class for the specified ToolStrip, using the specified Graphics to paint the specified bounds with the specified Color.

ToolStripRenderEventArgs(Graphics, ToolStrip) ToolStripRenderEventArgs(Graphics, ToolStrip) ToolStripRenderEventArgs(Graphics, ToolStrip)

Initializes a new instance of the ToolStripRenderEventArgs class for the specified ToolStrip and using the specified Graphics.

public:
 ToolStripRenderEventArgs(System::Drawing::Graphics ^ g, System::Windows::Forms::ToolStrip ^ toolStrip);
public ToolStripRenderEventArgs (System.Drawing.Graphics g, System.Windows.Forms.ToolStrip toolStrip);
new System.Windows.Forms.ToolStripRenderEventArgs : System.Drawing.Graphics * System.Windows.Forms.ToolStrip -> System.Windows.Forms.ToolStripRenderEventArgs

Parameters

g
Graphics Graphics Graphics

The Graphics to use for painting.

toolStrip
ToolStrip ToolStrip ToolStrip

The ToolStrip to paint.

ToolStripRenderEventArgs(Graphics, ToolStrip, Rectangle, Color) ToolStripRenderEventArgs(Graphics, ToolStrip, Rectangle, Color) ToolStripRenderEventArgs(Graphics, ToolStrip, Rectangle, Color)

Initializes a new instance of the ToolStripRenderEventArgs class for the specified ToolStrip, using the specified Graphics to paint the specified bounds with the specified Color.

public:
 ToolStripRenderEventArgs(System::Drawing::Graphics ^ g, System::Windows::Forms::ToolStrip ^ toolStrip, System::Drawing::Rectangle affectedBounds, System::Drawing::Color backColor);
public ToolStripRenderEventArgs (System.Drawing.Graphics g, System.Windows.Forms.ToolStrip toolStrip, System.Drawing.Rectangle affectedBounds, System.Drawing.Color backColor);
new System.Windows.Forms.ToolStripRenderEventArgs : System.Drawing.Graphics * System.Windows.Forms.ToolStrip * System.Drawing.Rectangle * System.Drawing.Color -> System.Windows.Forms.ToolStripRenderEventArgs

Parameters

g
Graphics Graphics Graphics

The Graphics to use for painting.

toolStrip
ToolStrip ToolStrip ToolStrip

The ToolStrip to paint.

affectedBounds
Rectangle Rectangle Rectangle

The Rectangle representing the bounds of the area to be painted.

backColor
Color Color Color

The Color that the background of the ToolStrip is painted with.

Applies to