ToolStripDropDownDirection Enumeration

 

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

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public enum ToolStripDropDownDirection

Member nameDescription
AboveLeft

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

AboveRight

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

BelowLeft

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

BelowRight

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

Default

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

Left

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

Right

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

.NET Framework
Available since 2.0
Return to top
Show: