Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

AutomationElement.AutomationElementInformation.Orientation Property

Definition

Namespace:
System.Windows.Automation
Assembly:
UIAutomationClient.dll

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 the orientation of the control.

public:
 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.

Remarks

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


Feedback

Was this page helpful?