Occurs when the user starts editing the label of an item.
[Visual Basic] Public Event BeforeLabelEdit As ListViewItemCancelEventHandler [C#] public event ListViewItemCancelEventHandler BeforeLabelEdit; [C++] public: __event ListViewItemCancelEventHandler* BeforeLabelEdit;
The event handler receives an argument of type ListViewItemCancelEventArgs containing data related to this event. The following ListViewItemCancelEventArgs property provides information specific to this event.
Property | Description |
---|---|
Cancel | Gets or sets a value indicating whether the event should be canceled. |
Item | The item to be checked, edited or selected. |
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows .NET Server family
ListView Class | ListView Members | Wimark.Controls Namespace