ToolStrip.Renderer Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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)

<BrowsableAttribute(False)>
Public Property Renderer As ToolStripRenderer

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: