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

实现

适用于