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

Contains data needed to handle the RowValidating event.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.GridView.dll

Syntax:

C#
public class GridViewRowValidatingEventArgs : RadRoutedEventArgs

Inheritance: objectRadRoutedEventArgsGridViewRowValidatingEventArgs

Constructors

Initializes a new instance of the GridViewRowValidatingEventArgs class.

C#
public GridViewRowValidatingEventArgs(GridViewRow row, IDictionary<string, object> oldValues, RoutedEvent routedEvent)
Parameters:rowGridViewRow

The row.

oldValuesIDictionary<string, object>

The old values.

routedEventRoutedEvent

The routed event.

Properties

Gets or sets the type of the edit operation.

C#
public GridViewEditOperationType EditOperationType { get; }
Property Value:

The type of the edit operation.

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

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

true if this instance is valid; otherwise, false.

Gets the old values.

C#
public IDictionary<string, object> OldValues { get; }
Property Value:

The old values.

Gets or sets the row.

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

The row.

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

C#
public IList<GridViewCellValidationResult> ValidationResults { get; }
Property Value:

The validation results.