Microsoft Silverlight will reach end of support after October 2021. Learn more.
Specifies the orientation direction in which a control can be presented.
Assembly: System.Windows (in System.Windows.dll)
'Declaration Public Enumeration AutomationOrientation
public enum AutomationOrientation
|None||The control does not have an orientation.|
|Horizontal||The control is presented horizontally.|
|Vertical||The control is presented horizontally.|
An Orientation automation property can be set by the peer for a control (such as ScrollBarAutomationPeer) by overriding GetOrientationCore. Generally such an implementation would report the value of a dedicated property of the peer's owner control (for instance ScrollBar.Orientation). An Orientation automation property cannot be set as an instance-level automation property.
Generally if an Orientation automation property is reported, it is tied to a dedicated Orientation property of the owner control class.
Supported in: 5, 4, 3
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.