Class
GridViewRowValidatingEventArgs

Contains data needed to handle the RowValidating event.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.GridView.dll

Syntax:

cs-api-definition
public class GridViewRowValidatingEventArgs : RadRoutedEventArgs

Inheritance: objectRadRoutedEventArgsGridViewRowValidatingEventArgs

Constructors

GridViewRowValidatingEventArgs(GridViewRow, IDictionary<string, object>, RoutedEvent)

Initializes a new instance of the GridViewRowValidatingEventArgs class.

Declaration

cs-api-definition
public GridViewRowValidatingEventArgs(GridViewRow row, IDictionary<string, object> oldValues, RoutedEvent routedEvent)

Parameters

row

GridViewRow

The row.

oldValues

IDictionary<string, object>

The old values.

routedEvent

RoutedEvent

The routed event.

Properties

EditOperationType

Gets or sets the type of the edit operation.

Declaration

cs-api-definition
public GridViewEditOperationType EditOperationType { get; }

Property Value

GridViewEditOperationType

The type of the edit operation.

IsValid

Gets or sets a value indicating whether the edited data is valid.

Declaration

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

Property Value

bool

true if this instance is valid; otherwise, false.

OldValues

Gets the old values.

Declaration

cs-api-definition
public IDictionary<string, object> OldValues { get; }

Property Value

IDictionary<string, object>

The old values.

Row

Gets or sets the row.

Declaration

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

Property Value

GridViewRow

The row.

ValidationResults

Gets the validation results. Use this property to set custom validation errors.

Declaration

cs-api-definition
public IList<GridViewCellValidationResult> ValidationResults { get; }

Property Value

IList<GridViewCellValidationResult>

The validation results.