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.
public enum class ToolStripDropDownCloseReason
public enum ToolStripDropDownCloseReason
type ToolStripDropDownCloseReason =
Public Enum ToolStripDropDownCloseReason
- Inheritance
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. |