AutomationOrientation 枚举

定义

指定控件布局的方向。Specifies the direction in which a control can be laid out.

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

字段

Horizontal 1

此控件为水平布局。The control is laid out horizontally.

None 0

此控件没有方向。The control doesn't have an orientation. 例如,Button 是没有方向的控件。An example of a control without an orientation is a Button.

Vertical 2

此控件为水平布局。The control is laid out horizontally.

注解

可以水平或垂直布局的控件包括ScrollBarSliderTabControlControls that can be laid out horizontally or vertically include ScrollBar, Slider, and TabControl.

适用于