ToolStrip.Renderer Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a ToolStripRenderer used to customize the look and feel of a ToolStrip.
public:
property System::Windows::Forms::ToolStripRenderer ^ Renderer { System::Windows::Forms::ToolStripRenderer ^ get(); void set(System::Windows::Forms::ToolStripRenderer ^ value); };
[System.ComponentModel.Browsable(false)]
public System.Windows.Forms.ToolStripRenderer Renderer { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.Renderer : System.Windows.Forms.ToolStripRenderer with get, set
Public Property Renderer As ToolStripRenderer
Property Value
A ToolStripRenderer used to customize the look and feel of a ToolStrip.
- Attributes
Remarks
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.