Edit

Share via


ControlType.ScrollBar Field

Definition

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

public: static initonly System::Windows::Automation::ControlType ^ ScrollBar;
public static readonly System.Windows.Automation.ControlType ScrollBar;
 staticval mutable ScrollBar : System.Windows.Automation.ControlType
Public Shared ReadOnly ScrollBar As ControlType 

Field Value

Remarks

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.

Applies to

See also