Bewerken

Delen via


ToolStrip.Renderer Property

Definition

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.

Applies to

See also