AutomationElement.AutomationElementInformation.Orientation Property


Gets the orientation of the control.

 property System::Windows::Automation::OrientationType Orientation { System::Windows::Automation::OrientationType get(); };
public System.Windows.Automation.OrientationType Orientation { get; }
member this.Orientation : System.Windows.Automation.OrientationType
Public ReadOnly Property Orientation As OrientationType

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.

Applies to