NotifyCollectionChangedEventHandler NotifyCollectionChangedEventHandler NotifyCollectionChangedEventHandler NotifyCollectionChangedEventHandler Delegate

Definition

Represents the method that will handle the CollectionChanged event.

.NET This interface appears as System.Collections.Specialized.NotifyCollectionChangedEventHandler.

public : delegate void NotifyCollectionChangedEventHandler(Platform::Object sender, NotifyCollectionChangedEventArgs e)
struct NotifyCollectionChangedEventHandler : winrt::Windows::Foundation::IUnknown
{
   NotifyCollectionChangedEventHandler(std::nullptr_t = nullptr) noexcept;
   template <typename L> NotifyCollectionChangedEventHandler(L lambda);
   template <typename F> NotifyCollectionChangedEventHandler(F* function);
   template <typename O, typename M> NotifyCollectionChangedEventHandler(O* object, M method);
   void operator()(winrt::Windows::Foundation::IInspectable const& sender, winrt::Windows::UI::Xaml::Interop::NotifyCollectionChangedEventArgs const& e) const;
};
public delegate void NotifyCollectionChangedEventHandler(Object sender, NotifyCollectionChangedEventArgs e)
Public Delegate Sub NotifyCollectionChangedEventHandler(sender As Object, e As NotifyCollectionChangedEventArgs)

Parameters

sender
Object Object

The object where the handler is attached.

e
NotifyCollectionChangedEventArgs NotifyCollectionChangedEventArgs

Event data for the event.

Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

When programming with .NET, this delegate is hidden and developers should use the System.Collections.Specialized.NotifyCollectionChangedEventHandler delegate.

See also