ItemContainerGenerator.IRecyclingItemContainerGenerator.Recycle Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.
virtual void System.Windows.Controls.Primitives.IRecyclingItemContainerGenerator.Recycle(System::Windows::Controls::Primitives::GeneratorPosition position, int count) = System::Windows::Controls::Primitives::IRecyclingItemContainerGenerator::Recycle;
void IRecyclingItemContainerGenerator.Recycle (System.Windows.Controls.Primitives.GeneratorPosition position, int count);
abstract member System.Windows.Controls.Primitives.IRecyclingItemContainerGenerator.Recycle : System.Windows.Controls.Primitives.GeneratorPosition * int -> unit
override this.System.Windows.Controls.Primitives.IRecyclingItemContainerGenerator.Recycle : System.Windows.Controls.Primitives.GeneratorPosition * int -> unit
Sub Recycle (position As GeneratorPosition, count As Integer) Implements IRecyclingItemContainerGenerator.Recycle
Parameters
- position
- GeneratorPosition
The index of the first element to reuse. position
must refer to a previously generated (realized) item.
- count
- Int32
The number of elements to reuse, starting at position
.