ToolBarArray.ControlRemoved ToolBarArray.ControlRemoved ToolBarArray.ControlRemoved ToolBarArray.ControlRemoved Event


Occurs when a control is removed from the Control.ControlCollection.

 event System::Windows::Forms::ControlEventHandler ^ ControlRemoved;
public event System.Windows.Forms.ControlEventHandler ControlRemoved;
member this.ControlRemoved : System.Windows.Forms.ControlEventHandler 
Public Event ControlRemoved As ControlEventHandler 


This event is raised if the ContextMenuStrip property is changed by either a programmatic modification or user interaction.

For more information about how to handle events, see Handling and Raising Events.


Functions and objects in the Microsoft.VisualBasic.Compatibility.VB6 namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic. In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.

Applies to