ScrollBarAutomationPeer.GetOrientationCore Method ()


Gets a value that indicates whether the ScrollBar that is associated with this ScrollBarAutomationPeer is laid out in a specific direction. Called by GetOrientation.

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

protected override AutomationOrientation GetOrientationCore()

Return Value

Type: System.Windows.Automation.Peers.AutomationOrientation

Horizontal or Vertical, depending on the orientation of the ScrollBar.

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