Dela via


IScrollItemProvider Interface

Definition

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.

public interface class IScrollItemProvider
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(2587803792, 23852, 20034, 158, 230, 157, 88, 219, 16, 11, 85)]
struct IScrollItemProvider
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(2587803792, 23852, 20034, 158, 230, 157, 88, 219, 16, 11, 85)]
public interface IScrollItemProvider
Public Interface IScrollItemProvider
Derived
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

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.

Methods

ScrollIntoView()

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

Applies to

See also