ListChangedEventArgs Constructor (ListChangedType, Int32, Int32)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the ListChangedEventArgs class given the type of change and the old and new index of the item that was moved.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

public ListChangedEventArgs(
	ListChangedType listChangedType,
	int newIndex,
	int oldIndex
)

Parameters

listChangedType
Type: System.ComponentModel.ListChangedType

A ListChangedType value indicating the type of change.

newIndex
Type: System.Int32

The new index of the item that was moved.

oldIndex
Type: System.Int32

The old index of the item that was moved.

.NET Framework
Available since 1.1
Return to top
Show: