Closing Event

ToolStripDropDown::Closing Event

 

Occurs when the ToolStripDropDown control is about to close.

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

public:
event ToolStripDropDownClosingEventHandler^ Closing {
	void add(ToolStripDropDownClosingEventHandler^ value);
	void remove(ToolStripDropDownClosingEventHandler^ value);
}

For more information about handling events, see Handling and Raising Events.

The following code example demonstrates how to selectively close a ToolStripDropDown control by handling the Closing event

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft