ToolStripDropDownCloseReason Enum

Definition

Specifies the reason that a ToolStripDropDown control was closed.

public enum class ToolStripDropDownCloseReason
public enum ToolStripDropDownCloseReason
type ToolStripDropDownCloseReason = 
Public Enum ToolStripDropDownCloseReason
Inheritance
ToolStripDropDownCloseReason

Fields

AppClicked 1

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

AppFocusChange 0

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

CloseCalled 4

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

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.

Applies to