System.Windows.Forms.ListView.ItemSelectionChanged Event

Occurs when the selection state of an item changes.

Syntax

public event ListViewItemSelectionChangedEventHandler ItemSelectionChanged

Remarks

In virtual mode, the ListView.VirtualItemsSelectionRangeChanged event will occur when the selection state of multiple items changes.

The ListView.ItemSelectionChanged event occurs whether the item state changes from selected to deselected or deselected to selected.

For more information about handling events, see Consuming Events.

Requirements

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