IsHorizontallyScrollable Method

PanoramaAutomationPeer.IsHorizontallyScrollable Method

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

Gets a value that indicates whether the control can scroll horizontally.

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

'Declaration
Public Function IsHorizontallyScrollable ( _
	viewportWidth As Integer, _
	itemsWidth As Integer _
) As Boolean

Parameters

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

Return Value

Type: System.Boolean
Returns true if the control can scroll horizontally; otherwise, false.

Windows Phone OS

Supported in: 8.1

Show:
© 2017 Microsoft