IRecyclingItemContainerGenerator.Recycle Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Disassociates item containers from their data items and saves the containers so they can be reused later for other data items.

Namespace:  System.Windows.Controls.Primitives
Assembly:  System.Windows (in System.Windows.dll)

Syntax

Sub Recycle ( _
    position As GeneratorPosition, _
    count As Integer _
)
void Recycle(
    GeneratorPosition position,
    int count
)

Parameters

  • count
    Type: System..::.Int32
    The number of elements to reuse, starting at position.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

IRecyclingItemContainerGenerator Interface

System.Windows.Controls.Primitives Namespace