Share via


XRCollectionChangedCustomEventArgs (Compact 2013)

3/28/2014

This structure defines custom event data that is returned by the IXRNotifyCollectionChanged::GetCollectionChangedEvent method when items in a collection are changed.

Syntax

struct XRCollectionChangedCustomEventArgs{
  IXRList *pOldItems;
  int OldStartingIndex;
  IXRList *pNewItems;
  int NewStartingIndex;
  XRCollectionChangeAction Action;
};

Members

  • pOldItems
    Points to an IXRList object that contains the elements that have been removed, replaced, or moved from the collection.
  • OldStartingIndex
    Indicates the starting index of the removed elements.
  • pNewItems
    Points to an IXRList object that contains the elements that have been added to the collection.
  • NewStartingIndex
    Indicates the starting index of the added elements.
  • Action
    XRCollectionChangeAction enumerated type that specifies the type of action that raised the CollectionChanged event.

.NET Framework Equivalent

System.Collections.Specialized.NotifyCollectionChangedEventArgs

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

XAML for Windows Embedded Structures
XRCollectionChangeAction
IXRNotifyCollectionChanged::GetCollectionChangedEvent