Returns the container element corresponding to the given item.
'Declaration
Public Function ContainerFromItem( _
ByVal As System.Object _
) As System.Windows.DependencyObject
public System.Windows.DependencyObject ContainerFromItem(
System.object
)
Parameters
- item
- The Object item to find the container for.
Return Value
A container element that corresponds to the given item. Returns a null reference if the item does not belong to the item collection, or if a container element has not been generated for it.