Table of Contents

Method OnItemRemoved

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

OnItemRemoved(object?, int, T)

Invoked when an item is removed from the collection.

protected virtual void OnItemRemoved(object? sender, int index, T item)

Parameters

sender object

The source of the event, typically the collection from which the item was removed.

index int

The zero-based index at which the item was removed.

item T

The item that was removed from the collection.

Remarks

This method is called to notify derived classes of item removal. Override this method in a subclass to handle the event when an item is removed.