AutomationPeer.GetOrientation Method   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that indicates the explicit control orientation, if any.
public:
 System::Windows::Automation::Peers::AutomationOrientation GetOrientation();
	public System.Windows.Automation.Peers.AutomationOrientation GetOrientation();
	member this.GetOrientation : unit -> System.Windows.Automation.Peers.AutomationOrientation
	Public Function GetOrientation () As AutomationOrientation
	Returns
The orientation of the control.
Exceptions
A public call to this method is currently in progress.