Windows Dev Center

IScrollItemProvider interface

Exposes methods and properties to support access by Microsoft UI Automation client to individual child controls of containers that implement IScrollProvider. Implement this interface in order to support the capabilities that an automation client requests with a GetPattern call and PatternInterface.ScrollItem.

Syntax


public interface IScrollItemProvider

Members

The IScrollItemProvider interface has these types of members:

Methods

The IScrollItemProvider interface has these methods. It also inherits methods from the Object class.

MethodDescription
ScrollIntoView Scrolls the content area of a container object in order to display the control within the visible region (viewport) of the container.

 

Remarks

This control pattern acts as a communication channel between a child control and its container to ensure that the container can change the currently visible content (or region) within its viewport to display the child control. The pattern has guidelines and conventions that aren't fully documented here. For more info on what this pattern is for, see ScrollItem Control Pattern.

IScrollItemProvider is implemented by these existing Windows Runtime classes:

The IScrollItemProvider pattern doesn't have a pattern property identifier class, the only API to implement is ScrollIntoView, a method.

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.UI.Xaml.Automation.Provider
Windows::UI::Xaml::Automation::Provider [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Automation.Provider
Windows::UI::Xaml::Automation::Provider [C++]

Metadata

Windows.winmd

Attributes

[Version(0x06020000)]
[WebHostHidden()]

See also

IScrollProvider
IScrollItemProvider (COM interface)
Custom automation peers
ScrollItem Control Pattern

 

 

Show:
© 2015 Microsoft