ToolStripDropDownDirection 枚举

定义

指定 ToolStripDropDown 控件相对于其父控件的显示方向。Specifies the direction in which a ToolStripDropDown control is displayed relative to its parent control.

public enum class ToolStripDropDownDirection
public enum ToolStripDropDownDirection
type ToolStripDropDownDirection = 
Public Enum ToolStripDropDownDirection
继承
ToolStripDropDownDirection

字段

AboveLeft 0

可使用鼠标位置指定 ToolStripDropDown 显示在其父控件的上方并位于其左侧。Uses the mouse position to specify that the ToolStripDropDown is displayed above and to the left of its parent control.

AboveRight 1

可使用鼠标位置指定 ToolStripDropDown 显示在其父控件的上方并位于其右侧。Uses the mouse position to specify that the ToolStripDropDown is displayed above and to the right of its parent control.

BelowLeft 2

可使用鼠标位置指定 ToolStripDropDown 显示在其父控件的下方并位于其左侧。Uses the mouse position to specify that the ToolStripDropDown is displayed below and to the left of its parent control.

BelowRight 3

可使用鼠标位置指定 ToolStripDropDown 显示在其父控件的下方并位于其右侧。Uses the mouse position to specify that the ToolStripDropDown is displayed below and to the right of its parent control.

Default 7

通过指定 RightToLeftLeft 相应地补偿嵌套下拉控件并响应 Right 设置。Compensates for nested drop-down controls and responds to the RightToLeft setting, specifying either Left or Right accordingly.

Left 4

补偿嵌套下拉控件并指定 ToolStripDropDown 显示在其父控件的左侧。Compensates for nested drop-down controls and specifies that the ToolStripDropDown is displayed to the left of its parent control.

Right 5

补偿嵌套下拉控件并指定 ToolStripDropDown 显示在其父控件的右侧。Compensates for nested drop-down controls and specifies that the ToolStripDropDown is displayed to the right of its parent control.

适用于