Приложения для Windows
EN
Данное содержимое не доступно на вашем языке, используйте версию на английском языке.

ItemContainerGenerator.GeneratorPositionFromIndex Method

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

Gets the generated position of the item at the specified index.

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

public GeneratorPosition GeneratorPositionFromIndex(
	int itemIndex
)

Parameters

itemIndex
Type: System.Int32
The index of the item to retrieve the position of.

Return Value

Type: System.Windows.Controls.Primitives.GeneratorPosition
The position of the item as generated by the ItemContainerGenerator.

Implements

IItemContainerGenerator.GeneratorPositionFromIndex(Int32)

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Показ:
© 2016 Microsoft