IScrollProvider.SetScrollPercent Method

PanoramaAutomationPeer.IScrollProvider.SetScrollPercent Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Sets the horizontal and vertical scroll position as a percentage of the total content area within the control.

Namespace:  Microsoft.Phone.Automation.Peers
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

'Declaration
Private Sub SetScrollPercent ( _
	horizontalPercent As Double, _
	verticalPercent As Double _
) Implements IScrollProvider.SetScrollPercent

Parameters

horizontalPercent
Type: System.Double
The horizontal position as a percentage of the content area's total range, or NoScroll if there is no horizontal scrolling.
verticalPercent
Type: System.Double
The vertical position as a percentage of the content area's total range, or NoScroll if there is no vertical scrolling.

Implements

IScrollProvider.SetScrollPercent(Double, Double)

Windows Phone OS

Supported in: 8.1

Show:
© 2017 Microsoft