Edytuj

Udostępnij za pośrednictwem


ToolStripRenderEventArgs Constructors

Definition

Initializes a new instance of the ToolStripRenderEventArgs class.

Overloads

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)

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)

Source:
ToolStripRenderEventArgs.cs
Source:
ToolStripRenderEventArgs.cs
Source:
ToolStripRenderEventArgs.cs

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
Public Sub New (g As Graphics, toolStrip As ToolStrip)

Parameters

g
Graphics

The Graphics to use for painting.

toolStrip
ToolStrip

The ToolStrip to paint.

Applies to

ToolStripRenderEventArgs(Graphics, ToolStrip, Rectangle, Color)

Source:
ToolStripRenderEventArgs.cs
Source:
ToolStripRenderEventArgs.cs
Source:
ToolStripRenderEventArgs.cs

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
Public Sub New (g As Graphics, toolStrip As ToolStrip, affectedBounds As Rectangle, backColor As Color)

Parameters

g
Graphics

The Graphics to use for painting.

toolStrip
ToolStrip

The ToolStrip to paint.

affectedBounds
Rectangle

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

backColor
Color

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

Applies to