ToolStripItemImageRenderEventArgs Constructor (Graphics^, ToolStripItem^, Image^, Rectangle)
.NET Framework (current version)
Initializes a new instance of the ToolStripItemImageRenderEventArgs class for the specified ToolStripItem that displays an image within the specified space and that has the specified properties.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
public:
ToolStripItemImageRenderEventArgs(
Graphics^ g,
ToolStripItem^ item,
Image^ image,
Rectangle imageRectangle
)
Parameters
- g
-
Type:
System.Drawing::Graphics^
The Graphics used to paint the image.
- item
-
Type:
System.Windows.Forms::ToolStripItem^
The ToolStripItem on which to draw the image.
- image
-
Type:
System.Drawing::Image^
The Image to paint.
- imageRectangle
-
Type:
System.Drawing::Rectangle
The bounding area of the image.
.NET Framework
Available since 2.0
Available since 2.0
Show: