Provides the old and proposed values for a cancelable item-value validation request.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
C#
public class ListViewItemValidatingEventArgs : ListViewItemCancelEventArgs
Inheritance: objectEventArgsCancelEventArgsListViewItemCancelEventArgsListViewItemValidatingEventArgs
Inherited Members
Constructors
Creates validation data for the specified visual item and value pair.
C#
public ListViewItemValidatingEventArgs(BaseListViewVisualItem visualItem, object oldValue, object newValue)
The visual item whose data item is being validated.
oldValueobjectThe value captured before editing began.
newValueobjectThe proposed value to validate.
Properties
Gets or sets the candidate value forwarded to the subsequent value-changing operation when this validation request is not canceled.
C#
public object NewValue { get; set; }
The candidate value for the item.