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)

Syntax

Public Function GetHorizontalViewSize ( _
    itemsCount As Integer, _
    isLocked As Boolean _
) As Double
public double GetHorizontalViewSize(
    int itemsCount,
    bool isLocked
)

Parameters

  • isLocked
    Type: System..::.Boolean
    A value that determines whether the pivot control is locked.

Return Value

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

Version Information

Windows Phone OS

Supported in: 8.1

See Also

Reference

PivotAutomationPeer Class

Microsoft.Phone.Automation.Peers Namespace