Initialize Method

ToolStripRenderer.Initialize Method (ToolStrip)

 

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
Available since 2.0
Return to top
Show:
© 2016 Microsoft