Scroll​Bar​Automation​Peer Scroll​Bar​Automation​Peer Scroll​Bar​Automation​Peer Scroll​Bar​Automation​Peer Class

Definition

Exposes ScrollBar types to Microsoft UI Automation.

public : class ScrollBarAutomationPeer : RangeBaseAutomationPeer, IScrollBarAutomationPeerpublic class ScrollBarAutomationPeer : RangeBaseAutomationPeer, IScrollBarAutomationPeerPublic Class ScrollBarAutomationPeer Inherits RangeBaseAutomationPeer Implements IScrollBarAutomationPeer// This API is not available in Javascript.
Inheritance
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Inherited Members

Inherited methods

Inherited properties

Remarks

The Windows Runtime ScrollBar class creates a new ScrollBarAutomationPeer as its OnCreateAutomationPeer definition. ScrollBar is sealed, so the normal scenario of deriving from the ScrollBar class and its existing peer isn't applicable to ScrollBarAutomationPeer.

Default peer implementation and overrides in ScrollBarBarAutomationPeer

ScrollBarAutomationPeer has overrides of Core methods such that the associated AutomationPeer methods provide peer-specific information to a Microsoft UI Automation client.

Constructors

ScrollBarAutomationPeer(ScrollBar) ScrollBarAutomationPeer(ScrollBar) ScrollBarAutomationPeer(ScrollBar) ScrollBarAutomationPeer(ScrollBar)

Initializes a new instance of the ScrollBarAutomationPeer class.

public : ScrollBarAutomationPeer(ScrollBar owner)public ScrollBarAutomationPeer(ScrollBar owner)Public Sub New(owner As ScrollBar)// This API is not available in Javascript.
Parameters
owner
ScrollBar ScrollBar ScrollBar ScrollBar

The owner element to create for.

See Also