ToolStripItemImageRenderEventArgs Constructor (Graphics, ToolStripItem, Rectangle)

 

Initializes a new instance of the ToolStripItemImageRenderEventArgs class for the specified ToolStripItem within the specified space and that has the specified properties.

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

public ToolStripItemImageRenderEventArgs(
	Graphics g,
	ToolStripItem item,
	Rectangle imageRectangle
)

Parameters

g
Type: System.Drawing.Graphics

The Graphics used to paint the image.

item
Type: System.Windows.Forms.ToolStripItem

The ToolStripItem.

imageRectangle
Type: System.Drawing.Rectangle

The bounding area of the image.

.NET Framework
Available since 2.0
Return to top
Show: