New to Telerik UI for WPFStart a free 30-day trial

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)
Parameters:routedEventRoutedEvent

The routed event.

exceptionException

The exception.

rowGridViewRow

The row which raises the exception.

Properties

Gets or sets the exception associated with the data error.

C#
public Exception Exception { get; }
Property Value:

The exception.

Gets or sets a value indicating whether row will stay in edit mode.

C#
public bool KeepRowInEditMode { get; set; }
Property Value:

true row will stay in edit mode; otherwise, false.

Gets the row which throws the exception.

C#
public GridViewRow Row { get; }
Property Value:

The row.