ListChangedEventArgs Constructor (ListChangedType, Int32, Int32)

 

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: