System.Windows.Forms.ToolStripRenderer.Initialize Method

When overridden in a derived class, provides for custom initialization of the given System.Windows.Forms.ToolStrip.

Syntax

protected virtual void Initialize (ToolStrip toolStrip)

Parameters

toolStrip
The System.Windows.Forms.ToolStrip to be initialized.

Remarks

Use the ToolStripRenderer.Initialize(ToolStrip) method to set properties, such as the ToolStrip.BackColor or ToolStrip.Font, when a System.Windows.Forms.ToolStrip is rendered.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0