Edit

Share via


ToolStripDropDownCloseReason Enum

Definition

Specifies the reason that a ToolStripDropDown control was closed.

C#
public enum ToolStripDropDownCloseReason
Inheritance
ToolStripDropDownCloseReason

Fields

Name Value Description
AppFocusChange 0

Specifies that the ToolStripDropDown control was closed because another application has received the focus.

AppClicked 1

Specifies that the ToolStripDropDown control was closed because an application was launched.

ItemClicked 2

Specifies that the ToolStripDropDown control was closed because one of its items was clicked.

Keyboard 3

Specifies that the ToolStripDropDown control was closed because of keyboard activity, such as the ESC key being pressed.

CloseCalled 4

Specifies that the ToolStripDropDown control was closed because the Close() method was called.

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9