IBindableObservableVector Interface

Definition

Extends IBindableVector by adding a VectorChanged event for change notification.

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

public interface class IBindableObservableVector : IBindableVector
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(4263425334, 32383, 20368, 172, 154, 71, 73, 132, 170, 229, 18)]
/// [Windows.Foundation.Metadata.WebHostHidden]
struct IBindableObservableVector : IBindableVector
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(4263425334, 32383, 20368, 172, 154, 71, 73, 132, 170, 229, 18)]
[Windows.Foundation.Metadata.WebHostHidden]
public interface IBindableObservableVector : IList
Public Interface IBindableObservableVector
Implements IList
Attributes
Implements

Windows 10 requirements

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

Remarks

This interface supports the creation of data bindable collections in C++. When programming with .NET, you should use ObservableCollection(Of T) or implement IList and INotifyCollectionChanged. For more info, see Binding to collections.

Interface inheritance

IBindableObservableVector inherits IBindableVector and IBindableIterable. Types that implement IBindableObservableVector also implement the interface members of IBindableVector and IBindableIterable for C++ usage, or IList and IEnumerable for Microsoft .NET usage.

Events

VectorChanged

Occurs when the vector collection changes (add, delete, item change).

Equivalent WinUI event: Microsoft.UI.Xaml.Interop.IBindableObservableVector.VectorChanged.

Applies to

See also