New to Telerik UI for WinForms? Start a free 30-day trial

Provides the visual item, editor reference, and cancellation state when an edit session ends.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class ListViewItemEditedEventArgs : ListViewVisualItemEventArgs

Inheritance: objectEventArgsListViewVisualItemEventArgsListViewItemEditedEventArgs

Inherited Members ListViewVisualItemEventArgs.itemListViewVisualItemEventArgs.VisualItemEventArgs.Empty

Constructors

Creates event data for a completed or canceled edit session.

C#
public ListViewItemEditedEventArgs(BaseListViewVisualItem visualItem, IValueEditor editor, bool canceled)
Parameters:visualItemBaseListViewVisualItem

The visual item that was edited.

editorIValueEditor

The editor reference to expose in the event data.

canceledbool

true if the edit was canceled rather than committed.

Properties

Gets whether the edit session was canceled instead of committed.

C#
public bool Canceled { get; }
Property Value:

true when the edit was canceled; otherwise, false.

A validation rejection does not set this flag; the completion event can still be raised with false.

Gets the editor reference stored in these event arguments.

C#
public IValueEditor Editor { get; }
Property Value:

The supplied editor, or null when none was supplied.

The control's current ItemEdited path supplies null because it clears the active editor before raising the event.