Language
Edit

IDataCollectionItemPlacer.NotifyCollectionDataChanged Method

Definition

Notification that the collection being managed by the data consumer for this object has changed.

public void NotifyCollectionDataChanged(MixedReality.Toolkit.Data.DataChangeType dataChangeType, string localKeypath, object value);
abstract member NotifyCollectionDataChanged : MixedReality.Toolkit.Data.DataChangeType * string * obj -> unit
Public Sub NotifyCollectionDataChanged (dataChangeType As DataChangeType, localKeypath As String, value As Object)

Parameters

dataChangeType
DataChangeType

The nature of the data change, typically CollectionItemAdded, or CollectionItemRemoved.

localKeypath
String

The keypath of the collection.

value
Object

A value relevant to the type of change. For a collection item change, this is the index of the item.

Remarks

This method will typically trigger a IDataConsumer.RequestCollectionItems() method call to request all or a subset of the items being managed in the collection. This back and forth allows for precise control of paging and virtualization to optimize the presentation of information.

Applies to