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

Return Value

Type: System..::.Double
Returns Double.

Version Information

Windows Phone OS

Supported in: 8.1

See Also

Reference

LongListSelectorAutomationPeer Class

Microsoft.Phone.Automation.Peers Namespace