編輯

共用方式為


ItemContainerGenerator.IRecyclingItemContainerGenerator.Recycle Method

Definition

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.

Implements

Applies to