ToolStripDropDownClosingEventArgs Constructor

ToolStripDropDownClosingEventArgs Constructor (ToolStripDropDownCloseReason)


Initializes a new instance of the ToolStripDropDownClosingEventArgs class with the specified reason for closing.

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

public ToolStripDropDownClosingEventArgs(
	ToolStripDropDownCloseReason reason

Use data from the ToolStripDropDownClosingEventArgs class to determine which actions to take when the user closes the drop-down list but before the list is closed.


for all windows for inheriting classes to call this method. Associated enumeration: AllWindows value of UIPermissionWindow.

.NET Framework
Available since 2.0
Return to top
© 2015 Microsoft