This documentation is archived and is not being maintained.

ControlType.ScrollBar Field

Identifies a scroll bar control, such as a scroll bar in an application window.

Namespace: System.Windows.Automation
Assembly: UIAutomationTypes (in uiautomationtypes.dll)

public static readonly ControlType ScrollBar
public static final ControlType ScrollBar
public static final var ScrollBar : ControlType
Not applicable.

A ScrollBar control type contains a set of buttons and a thumb control that enable a user using a mouse to scroll the contents of a window or item container.

Use the AutomationId property to differentiate between the Button elements that correspond to the large-increment, large-decrement, small-increment, and small-decrement buttons.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0
Show: