ToolStripControlHost.OnParentChanged Method (ToolStrip, ToolStrip)

 
System_CAPS_noteNote

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

Raises the ParentChanged event.

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

protected override void OnParentChanged(
	ToolStrip oldParent,
	ToolStrip newParent
)

Parameters

oldParent
Type: System.Windows.Forms.ToolStrip

The original parent of the item.

newParent
Type: System.Windows.Forms.ToolStrip

The new parent of the item.

.NET Framework
Available since 2.0
Return to top
Show: