PanoramaAutomationPeer.GetHorizontalScrollPercent Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Retrieves the current horizontal scroll position, expressed as a percentage of the total content area within the control.
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
'Declaration Public Function GetHorizontalScrollPercent ( _ viewportWidth As Integer, _ itemsWidth As Integer, _ offset As Integer _ ) As Double
Parameters
- viewportWidth
- Type: System.Int32
Width of the viewport area.
- itemsWidth
- Type: System.Int32
Width of items.
- offset
- Type: System.Int32
Offset in the viewport.
Show: