Class
DataErrorEventArgs

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:

cs-api-definition
public class DataErrorEventArgs : RadRoutedEventArgs

Inheritance: objectRadRoutedEventArgsDataErrorEventArgs

Constructors

DataErrorEventArgs(RoutedEvent, Exception, GridViewRow)

Initializes a new instance of the DataErrorEventArgs class.

Declaration

cs-api-definition
public DataErrorEventArgs(RoutedEvent routedEvent, Exception exception, GridViewRow row)

Parameters

routedEvent

RoutedEvent

The routed event.

exception

Exception

The exception.

row

GridViewRow

The row which raises the exception.

Properties

Exception

Gets or sets the exception associated with the data error.

Declaration

cs-api-definition
public Exception Exception { get; }

Property Value

Exception

The exception.

KeepRowInEditMode

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

Declaration

cs-api-definition
public bool KeepRowInEditMode { get; set; }

Property Value

bool

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

Row

Gets the row which throws the exception.

Declaration

cs-api-definition
public GridViewRow Row { get; }

Property Value

GridViewRow

The row.