System.Windows.Controls.ItemContainerGenerator.Recycle C# (CSharp) Метод

Recycle() приватный Метод

private Recycle ( GeneratorPosition position, int count ) : void
position GeneratorPosition
count int
Результат void
		internal void Recycle (GeneratorPosition position, int count)
		{
			CheckOffsetAndRealized (position, count);

			int index = IndexFromGeneratorPosition (position);
			for (int i = 0; i < count; i++)
				Cache.Enqueue (ContainerIndexMap[index + i]);
			Remove (position, count);
		}