ToolStrip::Renderer Property

 

Gets or sets a ToolStripRenderer used to customize the look and feel of a ToolStrip.

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

public:
[BrowsableAttribute(false)]
property ToolStripRenderer^ Renderer {
	ToolStripRenderer^ get();
	void set(ToolStripRenderer^ value);
}

Property Value

Type: System.Windows.Forms::ToolStripRenderer^

A ToolStripRenderer used to customize the look and feel of a ToolStrip.

Use the Renderer property and the ToolStripRenderer class to customize the look and feel of any ToolStripItem that does not have a window handle.

To do this, derive a class from ToolStripRenderer, assign it to the Renderer property, and call the Invalidate method.

.NET Framework
Available since 2.0
Return to top
Show: