The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WeakEventManager.DeliverEventToList Method

Delivers the event being managed to each listener in the provided list.

Namespace: System.Windows
Assembly: WindowsBase (in windowsbase.dll)

protected void DeliverEventToList (
	Object sender,
	EventArgs args,
	ListenerList list
protected void DeliverEventToList (
	Object sender, 
	EventArgs args, 
	ListenerList list
protected function DeliverEventToList (
	sender : Object, 
	args : EventArgs, 
	list : ListenerList
You cannot use methods in XAML.



The object on which the event is being handled.


Event data.


The provided WeakEventManager.ListenerList.

This method is necessary if your manager implementation maintains separate listeners lists based on factors such as information that is captured in the event data. This advanced technique entails that you must create and maintain the separate lists as part of your manager implementation, and provide a way to add listeners to a specific list. Your handler implementation that listens to the raw event would then act upon the conditional that you use to differentiate the lists, and deliver the event only to the appropriate list or lists.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft