Share 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 AutomationPeer.GetPattern call and PatternInterface.ScrollItem.

public interface class IScrollItemProvider
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(2322577643, 58865, 22763, 142, 114, 139, 149, 242, 54, 252, 71)]
struct IScrollItemProvider
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.Guid(2322577643, 58865, 22763, 142, 114, 139, 149, 242, 54, 252, 71)]
public interface IScrollItemProvider
Public Interface IScrollItemProvider
Derived
Attributes

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