Table of Contents

Method OnItemRemoved

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

OnItemRemoved(object?, int, StatusBarPanel)

Invoked when an item is removed from the panels collection.

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

Parameters

sender object

The source of the event, typically the collection that raised the event. Can be null.

index int

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

item StatusBarPanel

The StatusBarPanel instance that was removed. This parameter is never null.

Remarks

This method detaches event handlers from the removed item and updates the state of the status bar panels. Subclasses can override this method to provide additional behavior when an item is removed.