AutomationElement.AutomationElementInformation.Orientation Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the orientation of the control.

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

public OrientationType Orientation { get; }

Property Value

Type: System.Windows.Automation.OrientationType

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.

.NET Framework
Available since 3.0
Return to top