Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ItemContainerGenerator.IRecyclingItemContainerGenerator.Recycle Method

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
Assembly:  System.Windows (in System.Windows.dll)

void IRecyclingItemContainerGenerator.Recycle(
	GeneratorPosition position,
	int count
)

Parameters

position
Type: System.Windows.Controls.Primitives.GeneratorPosition
The zero-based index of the first element to reuse. position must refer to a previously generated (realized) item.
count
Type: System.Int32
The number of elements to reuse, starting at position.

Implements

IRecyclingItemContainerGenerator.Recycle(GeneratorPosition, Int32)

This member is an explicit interface member implementation. It can be used only when the ItemContainerGenerator instance is cast to an IRecyclingItemContainerGenerator interface.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2015 Microsoft