System.Windows.Forms.LabelEditEventArgs.CancelEdit Property

Gets or sets a value indicating whether changes made to the label of the System.Windows.Forms.ListViewItem should be canceled.

Syntax

public bool CancelEdit { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

You can use this property to cancel changes made to the label of a System.Windows.Forms.ListViewItem and revert it to its original text. Use this property to prevent an item's caption from being changed to a value that does not meet your application's requirements.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0