INotifyCollectionChanged INotifyCollectionChanged INotifyCollectionChanged INotifyCollectionChanged Interface

Definition

Provides a collection-changed pattern interface for C++ bindable classes.

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

public : interface INotifyCollectionChanged
struct winrt::Windows::UI::Xaml::Interop::INotifyCollectionChanged
public interface INotifyCollectionChanged
Public Interface INotifyCollectionChanged
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 interface is hidden and developers should use the System.Collections.Specialized.INotifyCollectionChanged interface.

Events

CollectionChanged CollectionChanged CollectionChanged CollectionChanged

Occurs when the collection changes.

public : event NotifyCollectionChangedEventHandler CollectionChanged<>
// Register
event_token CollectionChanged(NotifyCollectionChangedEventHandler<> const& handler) const;

// Revoke with event_token
void CollectionChanged(event_token const& cookie) const;

// Revoke with event_revoker
CollectionChanged_revoker CollectionChanged(auto_revoker_t, NotifyCollectionChangedEventHandler<> const& handler) const;
public event NotifyCollectionChangedEventHandler CollectionChanged<>
Public Event NotifyCollectionChangedEventHandler CollectionChanged( Of )

Remarks

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

See Also

See Also