BindableVectorChangedEventHandler Delegate
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the method that will handle the VectorChanged event.
public delegate void BindableVectorChangedEventHandler(IBindableObservableVector ^ vector, Platform::Object ^ e);
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.Guid(1649202401, 53255, 17329, 156, 3, 175, 77, 62, 98, 88, 196)]
public delegate void BindableVectorChangedEventHandler(IBindableObservableVector vector, object e);
Public Delegate Sub BindableVectorChangedEventHandler(vector As IBindableObservableVector, e As Object)
Parameters
- vector
- IBindableObservableVector
The object where the handler is attached.
- e
-
Object
Platform::Object
Event data, loosely typed.
- Attributes
Remarks
Analogous to the VectorChangedEventHandler delegate. Although the parameter e is of type Object, you can cast it to type IVectorChangedEventArgs.
This delegate 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.