LongListSelectorAutomationPeer.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)

Syntax

Private Sub SetScrollPercent ( _
    horizontalPercent As Double, _
    verticalPercent As Double _
) Implements IScrollProvider.SetScrollPercent
void IScrollProvider.SetScrollPercent(
    double horizontalPercent,
    double verticalPercent
)

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)

Version Information

Windows Phone OS

Supported in: 8.1

See Also

Reference

LongListSelectorAutomationPeer Class

Microsoft.Phone.Automation.Peers Namespace