ToolStripItemRenderEventArgs Constructor (Graphics^, ToolStripItem^)

 

Initializes a new instance of the ToolStripItemRenderEventArgs class for the specified ToolStripItem and using the specified Graphics.

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

public:
ToolStripItemRenderEventArgs(
	Graphics^ g,
	ToolStripItem^ item
)

Parameters

g
Type: System.Drawing::Graphics^

The Graphics object used to draw the item.

item
Type: System.Windows.Forms::ToolStripItem^

The ToolStripItem to be drawn.

.NET Framework
Available since 2.0
Return to top
Show: