'Declaration
<SRCategoryAttribute("CatBehavior")> <SRDescriptionAttribute("ListViewItemSelectionChangedDescr")> Public Event ItemSelectionChanged As System.Windows.Forms.ListViewItemSelectionChangedEventHandler
'Usage
Dim instance As NListView Dim handler As System.Windows.Forms.ListViewItemSelectionChangedEventHandler AddHandler instance.ItemSelectionChanged, handler
[SRCategory("CatBehavior")] [SRDescription("ListViewItemSelectionChangedDescr")] public event System.Windows.Forms.ListViewItemSelectionChangedEventHandler ItemSelectionChanged
Event Data
The event handler receives an argument of type System.Windows.Forms.ListViewItemSelectionChangedEventArgs containing data related to this event. The following ListViewItemSelectionChangedEventArgs properties provide information specific to this event.
Property | Description |
---|---|
IsSelected | Gets a value indicating whether the item's state has changed to selected. |
Item | Gets the item whose selection state has changed. |
ItemIndex | Gets the index of the item whose selection state has changed. |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also