Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Initialize Method

ToolStripRenderer.Initialize Method

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
)

Parameters

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft