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

Provides the previous and proposed current items and allows the change to be canceled.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class ListViewItemChangingEventArgs : CancelEventArgs

Inheritance: objectEventArgsCancelEventArgsListViewItemChangingEventArgs

Inherited Members CancelEventArgs.CancelEventArgs.Empty

Constructors

Initializes event data for a current-item change.

C#
public ListViewItemChangingEventArgs(ListViewDataItem oldItem, ListViewDataItem newItem)
Parameters:oldItemListViewDataItem

The item that is current before the change.

newItemListViewDataItem

The item proposed as the new current item.

Properties

Gets the item proposed as the new current item.

C#
public ListViewDataItem NewItem { get; }

Gets the item that was current before the proposed change.

C#
public ListViewDataItem OldItem { get; }