ItemCollection.IWeakEventListener.ReceiveWeakEvent(Type, Object, EventArgs) ItemCollection.IWeakEventListener.ReceiveWeakEvent(Type, Object, EventArgs) ItemCollection.IWeakEventListener.ReceiveWeakEvent(Type, Object, EventArgs) Method

Definition

Receives events from the centralized event manager.

 virtual bool System.Windows.IWeakEventListener.ReceiveWeakEvent(Type ^ managerType, System::Object ^ sender, EventArgs ^ e) = System::Windows::IWeakEventListener::ReceiveWeakEvent;
bool IWeakEventListener.ReceiveWeakEvent (Type managerType, object sender, EventArgs e);
Function ReceiveWeakEvent (managerType As Type, sender As Object, e As EventArgs) As Boolean Implements IWeakEventListener.ReceiveWeakEvent

Parameters

managerType
Type Type Type

The type of the WeakEventManager calling this method.

sender
Object Object Object

Object that originated the event.

e
EventArgs EventArgs EventArgs

Event data.

Returns

true if the listener handled the event; otherwise, false.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the ItemCollection instance is cast to an IWeakEventListener interface.

Applies to