Edit

Share via


ToolStripDropDownDirection Enum

Definition

Specifies the direction in which a ToolStripDropDown control is displayed relative to its parent control.

C#
public enum ToolStripDropDownDirection
Inheritance
ToolStripDropDownDirection

Fields

Name Value Description
AboveLeft 0

Uses the mouse position to specify that the ToolStripDropDown is displayed above and to the left of its parent control.

AboveRight 1

Uses the mouse position to specify that the ToolStripDropDown is displayed above and to the right of its parent control.

BelowLeft 2

Uses the mouse position to specify that the ToolStripDropDown is displayed below and to the left of its parent control.

BelowRight 3

Uses the mouse position to specify that the ToolStripDropDown is displayed below and to the right of its parent control.

Left 4

Compensates for nested drop-down controls and specifies that the ToolStripDropDown is displayed to the left of its parent control.

Right 5

Compensates for nested drop-down controls and specifies that the ToolStripDropDown is displayed to the right of its parent control.

Default 7

Compensates for nested drop-down controls and responds to the RightToLeft setting, specifying either Left or Right accordingly.

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