IScrollItemProvider::ScrollIntoView method (uiautomationcore.h)

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

Syntax

HRESULT ScrollIntoView();

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

This method will not guarantee the position of the control within the visible region (viewport) of the container.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps | UWP apps]
Minimum supported server Windows Server 2003 [desktop apps | UWP apps]
Target Platform Windows
Header uiautomationcore.h (include UIAutomation.h)

See also

IScrollItemProvider

UI Automation Providers Overview