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)

public protected:
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: