GetHorizontalViewSize Method

PanoramaAutomationPeer.GetHorizontalViewSize Method

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

Retrieves the horizontal percentage of the entire control that is currently viewable.

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

public double GetHorizontalViewSize(
	int viewportWidth,
	int itemsWidth
)

Parameters

viewportWidth
Type: System.Int32
Width of the viewport area.
itemsWidth
Type: System.Int32
Width of items.

Return Value

Type: System.Double
Returns Double.

Windows Phone OS

Supported in: 8.1

Show:
© 2017 Microsoft