.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

XPCollectionChangedEventArgs(XPCollectionChangedType, Object, Int32) Constructor

Initializes a new instance of the XPCollectionChangedEventArgs class with the specified settings.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v21.1.dll


public XPCollectionChangedEventArgs(
    XPCollectionChangedType collectionChangedType,
    object changedObject,
    int newIndex


Name Type Description
collectionChangedType XPCollectionChangedType

An XPCollectionChangedType enumeration value which represents the kind of change. This value is assigned to the XPCollectionChangedEventArgs.CollectionChangedType property.

changedObject Object

An object which represents the instance of the collection with the change. This value is assigned to the XPCollectionChangedEventArgs.ChangedObject property.

newIndex Int32

An integer value which specifies the object’s new index within the collection. This value is assigned to the XPCollectionChangedEventArgs.NewIndex field.

See Also