ItemAutomationPeer.GetOrientationCore Method ()

 
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 a value that indicates whether the specified UIElement is laid out in a particular direction.

Namespace:   System.Windows.Automation.Peers
Assembly:  PresentationFramework (in PresentationFramework.dll)

protected override AutomationOrientation GetOrientationCore()

Return Value

Type: System.Windows.Automation.Peers.AutomationOrientation

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

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

.NET Framework
Available since 3.0
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: