ItemClick Event

       

Occurs when a ListItem object in a ListView control is clicked.

Syntax

Private Sub object_ItemClick(ByVal Item As ListItem)

The ItemClick event syntax has these parts:

Part Description
object An object expression that evaluates to a ListView control.
listitem The ListItem object that was clicked.

Remarks

Use this event to determine which ListItem was clicked. This event is triggered before the Click event. The standard Click event is generated  if the mouse is clicked on any part of the ListView control. The ItemClick event is generated only when the mouse is clicked on the text or image of a ListItem object.