GetVerticalScrollPercent Method

LongListSelectorAutomationPeer.GetVerticalScrollPercent Method

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

Retrieves the current vertical scroll position, expressed as a percentage of the total content area within the control.

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

'Declaration
Public Function GetVerticalScrollPercent ( _
	scrollExtent As Double, _
	scrollViewport As Double, _
	scrollOffset As Double _
) As Double

Parameters

scrollExtent
Type: System.Double
The extent of the list.
scrollViewport
Type: System.Double
The visible size of the list.
scrollOffset
Type: System.Double
The scroll offset in the list.

Return Value

Type: System.Double
Returns Double.

Windows Phone OS

Supported in: 8.1

Show:
© 2017 Microsoft