Nevron.UI.WinForm.Controls Namespace / NListView Class / BeforeLabelEdit Event


In This Topic
    BeforeLabelEdit Event (NListView)
    In This Topic
    Syntax
    '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.

    PropertyDescription
    Gets or sets a value indicating whether changes made to the label of the System.Windows.Forms.ListViewItem should be canceled.  
    Gets the zero-based index of the System.Windows.Forms.ListViewItem containing the label to edit.  
    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