ItemCollection::IWeakEventListener::ReceiveWeakEvent Method (Type^, Object^, EventArgs^)

 

Receives events from the centralized event manager.

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

private:
virtual bool ReceiveWeakEvent(
	Type^ managerType,
	Object^ sender,
	EventArgs^ e
) sealed = IWeakEventListener::ReceiveWeakEvent

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: