ItemContainerGenerator.IndexFromContainer Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Returns the index to the item that has the specified, generated container.
Assembly: System.Windows (in System.Windows.dll)
Parameters
- container
- Type: System.Windows.DependencyObject
The generated container to retrieve the item index for.
Return Value
Type: System.Int32The index to the item that corresponds to the specified generated container.
Show: