Version

ConvertItemsToScrollUnits Method

Called by the gesture manager during the inertial phase of a panning operation to convert values which represent items to scroll units.
Syntax
'Declaration
 
Function ConvertItemsToScrollUnits( _
   ByVal containerElement As UIElement, _
   ByVal orientation As Orientation, _
   ByVal items As Integer _
) As Integer
int ConvertItemsToScrollUnits( 
   UIElement containerElement,
   Orientation orientation,
   int items
)

Parameters

containerElement
A reference to the UIElement which contains the items to be scrolled.
orientation
The orientation, i.e., horizontal or vertical
items
The value to be converted.

Return Value

The result of the conversion.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also