Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ToolStripRenderEventArgs Constructor (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.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
ToolStripRenderEventArgs(
	Graphics^ g,
	ToolStrip^ toolStrip,
	Rectangle affectedBounds,
	Color backColor
)

Parameters

g
Type: System.Drawing::Graphics^

The Graphics to use for painting.

toolStrip
Type: System.Windows.Forms::ToolStrip^

The ToolStrip to paint.

affectedBounds
Type: System.Drawing::Rectangle

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

backColor
Type: System.Drawing::Color

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

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft