Export (0) Print
Expand All

IItemContainerGenerator.Remove Method

Removes one or more generated (realized) items.

Namespace:  System.Windows.Controls.Primitives
Assembly:  PresentationFramework (in PresentationFramework.dll)

void Remove(
	GeneratorPosition position,
	int count
)

Parameters

position
Type: System.Windows.Controls.Primitives.GeneratorPosition

The Int32 index of the element to remove. position must refer to a previously generated (realized) item, which means its offset must be zero.

count
Type: System.Int32

The Int32 number of elements to remove, starting at position.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft