'Declaration
<SRCategoryAttribute("CatBehavior")> <SRDescriptionAttribute("ListViewBeforeLabelEditDescr")> Public Event BeforeLabelEdit As System.Windows.Forms.LabelEditEventHandler
'Usage
Dim instance As NListView Dim handler As System.Windows.Forms.LabelEditEventHandler AddHandler instance.BeforeLabelEdit, handler
[SRCategory("CatBehavior")] [SRDescription("ListViewBeforeLabelEditDescr")] public event System.Windows.Forms.LabelEditEventHandler BeforeLabelEdit
Event Data
The event handler receives an argument of type System.Windows.Forms.LabelEditEventArgs containing data related to this event. 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 System.Windows.Forms.ListViewItem should be canceled. |
Item | Gets the zero-based index of the System.Windows.Forms.ListViewItem containing the label to edit. |
Label | Gets the new text assigned to the label of the System.Windows.Forms.ListViewItem. |
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