Version

ReuseContainerForNewItem Method (RecyclingItemsControl)

Called when a container is being reused, i.e. recycled, or a different item.
Syntax
'Declaration
 
Protected Friend Overridable Sub ReuseContainerForNewItem( _
   ByVal container As DependencyObject, _
   ByVal item As Object _
) 
protected internal virtual void ReuseContainerForNewItem( 
   DependencyObject container,
   object item
)

Parameters

container
The container being reused/recycled.
item
The new item.
Remarks

Note: if the container had previously been deactivated then the original setting for the Visibility property, prior to its deactivation (refer to DeactivateContainer), will be restored before a this method is called.

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