Wimark.Controls Class Library  

ItemCollectionBase.OnItemRemoved Method

Raises the ItemRemoved event.

[Visual Basic]
Protected Sub OnItemRemoved( _
   ByVal e As ItemCollectionEventArgs _
protected void OnItemRemoved( 
   ItemCollectionEventArgs e 
protected: void OnItemRemoved( 
   ItemCollectionEventArgs* e 


Raising an event invokes the event handler through a delegate. For more information, see Raising an Event.

The OnItemRemoved method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.

Notes to Inheritors:  When overriding OnItemRemoved in a derived class, be sure to call the base class's OnItemRemoved method so that registered delegates receive the event.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows .NET Server family

See Also

ItemCollectionBase Class | ItemCollectionBase Members | Wimark.Controls Namespace