Redigera

Dela via


ScrollBarAutomationPeer.GetOrientationCore Method

Definition

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

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

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

Applies to

See also