This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
ListView BeforeLabelEdit Event
[To be supplied.]
The following declaration shows the syntax for a method that handles the BeforeLabelEdit event.
[Visual Basic]
Private Sub ListViewName_BeforeLabelEdit( _
ByVal sender As Object, _
ByVal e As LabelEditEventArgs _
)
[C#]
private void ListViewName_BeforeLabelEdit(
object sender,
LabelEditEventArgs e
);
[C++]
private: void ListViewName_BeforeLabelEdit(
Object* sender,
LabelEditEventArgs* e
);
[JScript]
private ListViewName_BeforeLabelEdit(
sender : Object,
e : LabelEditEventArgs
);
Parameters
- sender
- The source of the event.
- e
- A LabelEditEventArgs that contains the event data. The following LabelEditEventArgs properties provide information specific to this event.
Property |
Description |
- CancelEdit
|
- Gets or sets a value indicating whether changes made to the label of the ListItem should be canceled.
|
- Item
|
- Gets the zero-based index of the ListItem containing the label to edit.
|
- Label
|
- Gets the new text assigned to the label of the ListItem.
|
See Also
ListView Class | ListView MembersTopic | System.WinForms Namespace