Skip to main content

ContainerIndexChanged Event

Occurs for each realized container when the index for the item it represents has changed.

Definition

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

public event EventHandler<ContainerIndexChangedEventArgs> ContainerIndexChanged

Value

EventHandler(ContainerIndexChangedEventArgs)

Remarks

This event is raised for each realized container where the index for the item it represents has changed. For example, when another item is added or removed in the data source, the index for items that come after in the ordering will be impacted.

See Also

Reference

ItemsControl Class
Avalonia.Controls Namespace