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)
Syntax
Public Function GetVerticalScrollPercent ( _
scrollExtent As Double, _
scrollViewport As Double, _
scrollOffset As Double _
) As Double
public double GetVerticalScrollPercent(
double scrollExtent,
double scrollViewport,
double scrollOffset
)
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.
Version Information
Windows Phone OS
Supported in: 8.1