Click or drag to resize
GridViewItemContainerGenerator Methods

The GridViewItemContainerGenerator type exposes the following members.

Public methodContainerFromIndex
Return the UI element corresponding to the item at the given index within the ItemCollection.
Public methodContainerFromItem
Return the UI element corresponding to the given item. Returns null if the item does not belong to the item collection, or if no UI has been generated for it.
Public methodDispose
Public methodIndexFromContainer
Given a generated UI element, return the index of the corresponding item within the ItemCollection.
Public methodItemFromContainer
Return the item corresponding to the given UI element. If the element was not generated as a container for this generator's host, the method returns DependencyProperty.UnsetValue.
See Also