IWeakEventListener.ReceiveWeakEvent Method

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

.NET Framework (current version)
 

Receives events from the centralized event manager.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

bool IWeakEventListener.ReceiveWeakEvent(
	Type managerType,
	object sender,
	EventArgs e
)

Parameters

managerType
Type: System.Type

The type of the WeakEventManager calling this method.

sender
Type: System.Object

Object that originated the event.

e
Type: System.EventArgs

Event data.

Return Value

Type: System.Boolean

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

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

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft