GeneratorPositionFromIndex Method

IItemContainerGenerator.GeneratorPositionFromIndex Method

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

Returns the GeneratorPosition object that maps to the item at the specified index.

Namespace:  System.Windows.Controls.Primitives
Assembly:  System.Windows (in System.Windows.dll)

GeneratorPosition GeneratorPositionFromIndex(
	int itemIndex
)

Parameters

itemIndex
Type: System.Int32
The index of desired item.

Return Value

Type: System.Windows.Controls.Primitives.GeneratorPosition
An GeneratorPosition object that maps to the item at the specified index.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft