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