Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ListViewVirtualItemsSelectionRangeChangedEventArgs Constructor

ListViewVirtualItemsSelectionRangeChangedEventArgs Constructor

Initializes a new instance of the ListViewVirtualItemsSelectionRangeChangedEventArgs class.

Namespace:  System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public ListViewVirtualItemsSelectionRangeChangedEventArgs(
	int startIndex,
	int endIndex,
	bool isSelected


Type: System.Int32

The index of the first item in the range that has changed.

Type: System.Int32

The index of the last item in the range that has changed.

Type: System.Boolean

true to indicate the items are selected; false to indicate the items are deselected.


startIndex is larger than endIndex.

The ListViewVirtualItemsSelectionRangeChangedEventArgs occurs when items are changed from selected to deselected, and deselected to selected. The isSelected parameter indicates the current state of the range of items.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft