IWeakEventListener.ReceiveWeakEvent Method

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


This API supports the product infrastructure and is not intended to be used directly from your code.

Receives events from the centralized event manager.

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

Private Function ReceiveWeakEvent (
	managerType As Type,
	sender As Object,
	e As EventArgs
) As Boolean
	Implements IWeakEventListener.ReceiveWeakEvent


Type: System.Type

The type of the WeakEventManager calling this method. This only recognizes manager objects of type DataChangedEventManager.

Type: System.Object

Object that originated the event.

Type: System.EventArgs

Event data.

Return Value

Type: System.Boolean

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

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