GetHorizontalViewSize Method

PivotAutomationPeer.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 itemsCount,
	bool isLocked
)

Parameters

itemsCount
Type: System.Int32
The number of pivot items.
isLocked
Type: System.Boolean
A value that determines whether the pivot control is locked.

Return Value

Type: System.Double
Returns Double.

Windows Phone OS

Supported in: 8.1

Show:
© 2017 Microsoft