Прочетете на английски Редактиране

Споделяне чрез


ToolStripDropDownCloseReason Enum

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

Продукт Версии
.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, 10