-api-id | -api-type |
---|---|
M:Windows.UI.Xaml.Controls.ItemContainerGenerator.IndexFromContainer(Windows.UI.Xaml.DependencyObject) |
winrt method |
Note
IndexFromContainer may be altered or unavailable for releases after Windows 8.1. Instead, use ItemsControl.IndexFromContainer.
Returns the index to the item that has the specified, generated container.
The generated container to retrieve the item index for.
The index to the item that corresponds to the specified generated container.