- oldParent
- The original parent of the item.
- newParent
- The new parent of the item.
| Visual Basic (Declaration) | |
|---|---|
Overrides Protected Sub OnParentChanged( _ ByVal oldParent As ToolStrip, _ ByVal newParent As ToolStrip _ ) | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As LayoutSelectorToolStripMenuItem Dim oldParent As ToolStrip Dim newParent As ToolStrip instance.OnParentChanged(oldParent, newParent) | |
| Managed Extensions for C++ | |
|---|---|
protected: void OnParentChanged( ToolStrip* oldParent, ToolStrip* newParent ) override | |
| C++/CLI | |
|---|---|
protected: void OnParentChanged( ToolStrip^ oldParent, ToolStrip^ newParent ) override | |
Parameters
- oldParent
- The original parent of the item.
- newParent
- The new parent of the item.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
Copy Code