Export (0) Print
Expand All

ItemCollection.IWeakEventListener.ReceiveWeakEvent Method

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.

Implements

IWeakEventListener.ReceiveWeakEvent(Type, Object, EventArgs)

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft