Bearbeiten

Freigeben über


ItemAutomationPeer.GetOrientationCore Method

Definition

Gets a value that indicates whether the specified UIElement is laid out in a particular direction.

protected:
 override System::Windows::Automation::Peers::AutomationOrientation GetOrientationCore();
protected override System.Windows.Automation.Peers.AutomationOrientation GetOrientationCore ();
override this.GetOrientationCore : unit -> System.Windows.Automation.Peers.AutomationOrientation
Protected Overrides Function GetOrientationCore () As AutomationOrientation

Returns

The direction of the specified UIElement. Optionally, the method returns None if the UIElement is not laid out in a particular direction.

Remarks

The UIElement corresponds to the data item in the Items collection that is associated with this ItemAutomationPeer. This method is called by GetOrientation.

Applies to

See also