ToolStripRenderEventArgs Constructor (Graphics^, ToolStrip^, Rectangle, Color)
.NET Framework (current version)
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.
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
Available since 2.0
Show: