ToolStripDropDownClosingEventArgs Constructor (ToolStripDropDownCloseReason)
.NET Framework (current version)
Initializes a new instance of the ToolStripDropDownClosingEventArgs class with the specified reason for closing.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- reason
-
Type:
System.Windows.Forms::ToolStripDropDownCloseReason
One of the ToolStripDropDownCloseReason values.
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
Available since 2.0
Show: