Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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)
public enum AutomationOrientation
Member nameDescription
Supported by Silverlight for Windows PhoneNoneThe control does not have an orientation.
Supported by Silverlight for Windows PhoneHorizontalThe control is presented horizontally.
Supported by Silverlight for Windows PhoneVerticalThe 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.

Silverlight

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.