Share via


AutomationPeer.GetOrientation Method

Definition

Gets a value that indicates the explicit control orientation, if any.

public:
 virtual AutomationOrientation GetOrientation() = GetOrientation;
AutomationOrientation GetOrientation();
public AutomationOrientation GetOrientation();
function getOrientation()
Public Function GetOrientation () As AutomationOrientation

Returns

The orientation of the control as a value of the enumeration.

Applies to