Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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.

UIPermission

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
Show:
© 2017 Microsoft