ToolStripItemRenderEventArgs::Item Property

 

Gets the ToolStripItem to paint.

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

public:
property ToolStripItem^ Item {
	ToolStripItem^ get();
}

Property Value

Type: System.Windows.Forms::ToolStripItem^

The ToolStripItem to paint.

The following code example demonstrates how to override the OnRenderButtonBackground method to draw a border around a ToolStripButton control's Image. This code example is part of a larger example provided for the ToolStripRenderer class.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: