AutomationElement::AutomationElementInformation::Orientation Property

 
System_CAPS_noteNote

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

Gets the orientation of the control.

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

public:
property OrientationType Orientation {
	OrientationType 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
Show: