Skip to main content
.NET Framework 4.6.2+

XPCollectionChangedEventArgs(XPCollectionChangedType, Object, Int32) Constructor

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

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.2.dll

Declaration

public XPCollectionChangedEventArgs(
    XPCollectionChangedType collectionChangedType,
    object changedObject,
    int newIndex
)

Parameters

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