AutomationOrientation Enumeration

Specifies the orientation direction in which a control can be presented.

Namespace:  System.Windows.Automation.Peers
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Public Enumeration AutomationOrientation
public enum AutomationOrientation

Members

Member name Description
Supported by Silverlight for Windows Phone None The control does not have an orientation.
Supported by Silverlight for Windows Phone Horizontal The control is presented horizontally.
Supported by Silverlight for Windows Phone Vertical The control is presented horizontally.

Remarks

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.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.