The ListView.BeforeLabelEdit event occurs when the user starts modifying the text for an item. If the event handler cancels this event, the user cannot edit the text. You can use this event to prevent the user from editing specific items in the System.Windows.Forms.ListView control. If the ListView.LabelEdit property of the System.Windows.Forms.ListView control is set to false, the ListView.BeforeLabelEdit event is not raised; all user attempts to edit item labels are automatically rejected.
For more information about handling events, see Consuming Events.