Version

ContainerFromItem Method (RecyclingItemContainerGenerator)

Returns the UIElement container corresponding to the given item.
Syntax
'Declaration
 
Public Function ContainerFromItem( _
   ByVal item As Object _
) As DependencyObject
public DependencyObject ContainerFromItem( 
   object item
)

Parameters

item
The Object item to find the UIElement container for.

Return Value

A UIElement that corresponds to the given item. Returns null if the item does not belong to the item collection, or if an UIElement has not been generated for it.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also