ToolStripRenderer.Initialize Method (ToolStrip)


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

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

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

protected internal virtual void Initialize(
	ToolStrip toolStrip


Type: System.Windows.Forms.ToolStrip

The ToolStrip to be initialized.

Use the Initialize method to set properties, such as the ToolStrip.BackColor or ToolStrip.Font, when a ToolStrip is rendered.

.NET Framework
Available since 2.0
Return to top