12 implementations of IWeakEventListener
PresentationFramework (12)
src\Framework\MS\Internal\Data\IndexedEnumerable.cs (1)
42internal class IndexedEnumerable : IEnumerable, IWeakEventListener
src\Framework\MS\Internal\Data\PropertyPathWorker.cs (1)
29internal sealed class PropertyPathWorker: IWeakEventListener
src\Framework\MS\Internal\Data\ValueTable.cs (1)
36internal sealed class ValueTable : IWeakEventListener
src\Framework\MS\Internal\Data\XmlBindingWorker.cs (1)
29internal class XmlBindingWorker : BindingWorker, IWeakEventListener
src\Framework\System\Windows\Controls\ItemCollection.cs (1)
61public sealed class ItemCollection : CollectionView, IList, IEditableCollectionViewAddNewItem, ICollectionViewLiveShaping, IItemProperties, IWeakEventListener
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (1)
43public sealed class ItemContainerGenerator : IRecyclingItemContainerGenerator, IWeakEventListener
src\Framework\System\Windows\Controls\Primitives\GridViewRowPresenterBase.cs (1)
24public abstract class GridViewRowPresenterBase : FrameworkElement, IWeakEventListener
src\Framework\System\Windows\Data\BindingExpression.cs (1)
51public sealed class BindingExpression : BindingExpressionBase, IDataBindEngineClient, IWeakEventListener
src\Framework\System\Windows\Data\BindingExpressionBase.cs (1)
43public abstract class BindingExpressionBase : Expression, IWeakEventListener
src\Framework\System\Windows\Data\CollectionContainer.cs (1)
40public class CollectionContainer : DependencyObject, INotifyCollectionChanged, IWeakEventListener
src\Framework\System\Windows\Data\CollectionViewSource.cs (1)
29public class CollectionViewSource : DependencyObject, ISupportInitialize, IWeakEventListener
src\Framework\System\Windows\Data\CompositeCollection.cs (1)
42public class CompositeCollection : IList, INotifyCollectionChanged, ICollectionViewFactory, IWeakEventListener
54 references to IWeakEventListener
PresentationFramework (28)
src\Framework\MS\Internal\Data\IndexedEnumerable.cs (1)
683bool IWeakEventListener.ReceiveWeakEvent(Type managerType, object sender, EventArgs e)
src\Framework\MS\Internal\Data\PropertyPathWorker.cs (1)
1774bool IWeakEventListener.ReceiveWeakEvent(Type managerType, object sender, EventArgs e)
src\Framework\MS\Internal\Data\ValueChangedEventManager.cs (8)
69public static void AddListener(object source, IWeakEventListener listener, PropertyDescriptor pd) 82public static void RemoveListener(object source, IWeakEventListener listener, PropertyDescriptor pd) 307private void PrivateAddListener(object source, IWeakEventListener listener, PropertyDescriptor pd) 315private void PrivateRemoveListener(object source, IWeakEventListener listener, PropertyDescriptor pd) 334private void AddListener(object source, PropertyDescriptor pd, IWeakEventListener listener, EventHandler<ValueChangedEventArgs> handler) 366private void RemoveListener(object source, PropertyDescriptor pd, IWeakEventListener listener, EventHandler<ValueChangedEventArgs> handler) 445public void Add(IWeakEventListener listener, EventHandler<ValueChangedEventArgs> handler) 467public void Remove(IWeakEventListener listener, EventHandler<ValueChangedEventArgs> handler)
src\Framework\MS\Internal\Data\ValueTable.cs (1)
202bool IWeakEventListener.ReceiveWeakEvent(Type managerType, object sender, EventArgs e)
src\Framework\MS\Internal\Data\XmlBindingWorker.cs (1)
409bool IWeakEventListener.ReceiveWeakEvent(Type managerType, object sender, EventArgs args)
src\Framework\MS\Internal\Data\XmlNodeChangedEventManager.cs (2)
44public static void AddListener(XmlDocument source, IWeakEventListener listener) 57public static void RemoveListener(XmlDocument source, IWeakEventListener listener)
src\Framework\System\Windows\Controls\ItemCollection.cs (1)
1948bool IWeakEventListener.ReceiveWeakEvent(Type managerType, object sender, EventArgs e)
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (1)
2366bool IWeakEventListener.ReceiveWeakEvent(Type managerType, object sender, EventArgs e)
src\Framework\System\Windows\Controls\Primitives\GridViewRowPresenterBase.cs (3)
326bool IWeakEventListener.ReceiveWeakEvent(Type managerType, object sender, EventArgs args) 386public static void AddListener(GridViewColumnCollection source, IWeakEventListener listener) 399public static void RemoveListener(GridViewColumnCollection source, IWeakEventListener listener)
src\Framework\System\Windows\Data\BindingExpression.cs (1)
2537bool IWeakEventListener.ReceiveWeakEvent(Type managerType, object sender, EventArgs e)
src\Framework\System\Windows\Data\BindingExpressionBase.cs (1)
506bool IWeakEventListener.ReceiveWeakEvent(Type managerType, object sender, EventArgs e)
src\Framework\System\Windows\Data\CollectionContainer.cs (1)
289bool IWeakEventListener.ReceiveWeakEvent(Type managerType, object sender, EventArgs e)
src\Framework\System\Windows\Data\CollectionViewSource.cs (1)
733bool IWeakEventListener.ReceiveWeakEvent(Type managerType, object sender, EventArgs e)
src\Framework\System\Windows\Data\CompositeCollection.cs (1)
432bool IWeakEventListener.ReceiveWeakEvent(Type managerType, object sender, EventArgs e)
src\Framework\System\Windows\Data\DataChangedEventManager.cs (2)
43public static void AddListener(DataSourceProvider source, IWeakEventListener listener) 56public static void RemoveListener(DataSourceProvider source, IWeakEventListener listener)
src\Framework\System\Windows\LostFocusEventManager.cs (2)
44public static void AddListener(DependencyObject source, IWeakEventListener listener) 57public static void RemoveListener(DependencyObject source, IWeakEventListener listener)
WindowsBase (26)
Base\MS\Internal\InheritanceContextChangedEventManager.cs (2)
46public static void AddListener(DependencyObject source, IWeakEventListener listener) 65public static void RemoveListener(DependencyObject source, IWeakEventListener listener)
Base\System\Collections\Specialized\CollectionChangedEventManager.cs (2)
43public static void AddListener(INotifyCollectionChanged source, IWeakEventListener listener) 56public static void RemoveListener(INotifyCollectionChanged source, IWeakEventListener listener)
Base\System\ComponentModel\CurrentChangedEventManager.cs (2)
43public static void AddListener(ICollectionView source, IWeakEventListener listener) 56public static void RemoveListener(ICollectionView source, IWeakEventListener listener)
Base\System\ComponentModel\CurrentChangingEventManager.cs (2)
44public static void AddListener(ICollectionView source, IWeakEventListener listener) 57public static void RemoveListener(ICollectionView source, IWeakEventListener listener)
Base\System\ComponentModel\PropertyChangedEventManager.cs (6)
51public static void AddListener(INotifyPropertyChanged source, IWeakEventListener listener, string propertyName) 64public static void RemoveListener(INotifyPropertyChanged source, IWeakEventListener listener, string propertyName) 367private void PrivateAddListener(INotifyPropertyChanged source, IWeakEventListener listener, string propertyName) 376private void PrivateRemoveListener(INotifyPropertyChanged source, IWeakEventListener listener, string propertyName) 396private void AddListener(INotifyPropertyChanged source, string propertyName, IWeakEventListener listener, EventHandler<PropertyChangedEventArgs> handler) 448private void RemoveListener(INotifyPropertyChanged source, string propertyName, IWeakEventListener listener, EventHandler<PropertyChangedEventArgs> handler)
Base\System\Windows\WeakEventManager.cs (12)
231protected void ProtectedAddListener(object source, IWeakEventListener listener) 242protected void ProtectedRemoveListener(object source, IWeakEventListener listener) 272private void AddListener(object source, IWeakEventListener listener, Delegate handler) 334list.Remove((IWeakEventListener)target); 571public IWeakEventListener this[int index] 573get { return (IWeakEventListener)_list[index].Target; } 608public void Add(IWeakEventListener listener) 617public void Remove(IWeakEventListener listener) 798IWeakEventListener iwel = target as IWeakEventListener; 852IWeakEventListener iwel; 867else if ((iwel = listener.Target as IWeakEventListener) != null)