Skip to main content
.NET 6.0+

XPCollectionChangedEventArgs(XPCollectionChangedType, Object, Int32) Constructor

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

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v23.2.dll

NuGet Package: DevExpress.Xpo

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