Leadtools.Controls Namespace > ImageViewer Object : OnItemChanged Method |
function Leadtools.Controls.ImageViewer.onItemChanged( e )
Parameter | Type | Description |
---|---|---|
e | ImageViewerItemChangedEventArgs | The event data. |
Raising an event invokes the event handler through a delegate. The OnItemChanged 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.
Note to Inheritors: When overriding OnItemChanged in a derived class, be sure to call the base class's OnItemChanged method so that registered delegates receive the event.