Edytuj

Udostępnij za pośrednictwem


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

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