DataErrorEventArgs
Class
Holds exception data to be custom processed by user code when DataError exception handled is set to true.
Definition
Namespace:Telerik.Windows.Controls.GridView
Assembly:Telerik.Windows.Controls.GridView.dll
Syntax:
C#
public class DataErrorEventArgs : RadRoutedEventArgs
Inheritance: objectRadRoutedEventArgsDataErrorEventArgs
Constructors
Initializes a new instance of the DataErrorEventArgs class.
C#
public DataErrorEventArgs(RoutedEvent routedEvent, Exception exception, GridViewRow row)
The routed event.
exceptionExceptionThe exception.
rowGridViewRowThe row which raises the exception.
Properties
Gets or sets the exception associated with the data error.
C#
public Exception Exception { get; }
The exception.
Gets or sets a value indicating whether row will stay in edit mode.
C#
public bool KeepRowInEditMode { get; set; }
true row will stay in edit mode; otherwise, false.
Gets the row which throws the exception.
C#
public GridViewRow Row { get; }
The row.