Table of Contents

Method OnMenuItemsCollectionChanged

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

OnMenuItemsCollectionChanged(object?, NotifyCollectionChangedEventArgs)

Handles changes to the attached menu items collection.

protected virtual void OnMenuItemsCollectionChanged(object? sender, NotifyCollectionChangedEventArgs e)

Parameters

sender object

The source of the collection change event. This may be null.

e NotifyCollectionChangedEventArgs

The event data containing details about the collection change.

Remarks

This method is called whenever the menu items collection is modified. Subclasses can override this method to provide custom handling for collection changes.