IItemContainerGenerator.IndexFromGeneratorPosition Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Returns the index that maps to the specified GeneratorPosition.
Assembly: System.Windows (in System.Windows.dll)
'Declaration Function IndexFromGeneratorPosition ( _ position As GeneratorPosition _ ) As Integer
Parameters
- position
- Type: System.Windows.Controls.Primitives.GeneratorPosition
The index of desired item.
The GeneratorPosition for the desired index.
Return Value
Type: System.Int32An Int32 that is the index which maps to the specified GeneratorPosition.
Show: