ItemContainerGenerator.IRecyclingItemContainerGenerator.Recycle 方法

定义

此成员支持Windows Presentation Foundation (WPF) 基础结构,不应直接从代码中使用。

 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

参数

position
GeneratorPosition

要重用的第一个元素的索引。 position 必须是以前生成(实现)的项。

count
Int32

要重用的元素的编号,从 position 开始。

实现

适用于