Edytuj

Udostępnij za pośrednictwem


IItemContainerGenerator.Remove(GeneratorPosition, Int32) Method

Definition

Removes one or more generated (realized) items.

public:
 void Remove(System::Windows::Controls::Primitives::GeneratorPosition position, int count);
public void Remove (System.Windows.Controls.Primitives.GeneratorPosition position, int count);
abstract member Remove : System.Windows.Controls.Primitives.GeneratorPosition * int -> unit
Public Sub Remove (position As GeneratorPosition, count As Integer)

Parameters

position
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
Int32

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

Applies to