INotifyCollectionChanged Interface

Definition

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

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

Equivalent WinUI interface: Microsoft.UI.Xaml.Interop.INotifyCollectionChanged.

public interface class INotifyCollectionChanged
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(682715093, 6705, 18011, 155, 37, 213, 195, 174, 104, 108, 64)]
/// [Windows.Foundation.Metadata.WebHostHidden]
struct INotifyCollectionChanged
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(682715093, 6705, 18011, 155, 37, 213, 195, 174, 104, 108, 64)]
[Windows.Foundation.Metadata.WebHostHidden]
public interface INotifyCollectionChanged
Public Interface INotifyCollectionChanged
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

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

Events

CollectionChanged

Occurs when the collection changes.

Equivalent WinUI event: Microsoft.UI.Xaml.Interop.INotifyCollectionChanged.CollectionChanged.

Applies to

See also