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
Constructors
Initializes event data for a current-item change.
C#
public ListViewItemChangingEventArgs(ListViewDataItem oldItem, ListViewDataItem newItem)
The item that is current before the change.
newItemListViewDataItemThe 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; }