Skip to main content

ItemContainerIndexChanged Method

Called when the index for a container changes due to an insertion or removal in the items collection.

Definition

Namespace: Avalonia.Controls.Generators
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public void ItemContainerIndexChanged(
Control container,
int oldIndex,
int newIndex
)

Parameters

  Control
The container whose index changed.
  Int32
The old index.
  Int32
The new index.

See Also

Reference

ItemContainerGenerator Class
Avalonia.Controls.Generators Namespace