AutomationElement.AutomationElementInformation.Orientation Property

Gets the orientation of the control.

Namespace: System.Windows.Automation
Assembly: UIAutomationClient (in uiautomationclient.dll)
XML Namespace:

Public ReadOnly Property Orientation As OrientationType
Dim instance As AutomationElementInformation
Dim value As OrientationType

value = instance.Orientation

/** @property */
public OrientationType get_Orientation ()

public function get Orientation () : OrientationType

Not applicable.

Property Value

The orientation.

This property is supported by controls such as scroll bars and sliders that can have either a vertical or a horizontal orientation.

For more information, see OrientationProperty.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions