ClassGridViewRowValidatingEventArgs
Contains data needed to handle the RowValidating event.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.GridView.dll
Syntax:
public class GridViewRowValidatingEventArgs : RadRoutedEventArgs
Inheritance: objectRadRoutedEventArgsGridViewRowValidatingEventArgs
Constructors
GridViewRowValidatingEventArgs(GridViewRow, IDictionary<string, object>, RoutedEvent)
Initializes a new instance of the GridViewRowValidatingEventArgs class.
Declaration
public GridViewRowValidatingEventArgs(GridViewRow row, IDictionary<string, object> oldValues, RoutedEvent routedEvent)
Parameters
row
The row.
oldValues
The old values.
routedEvent
RoutedEvent
The routed event.
Properties
EditOperationType
Gets or sets the type of the edit operation.
Declaration
public GridViewEditOperationType EditOperationType { get; }
Property Value
The type of the edit operation.
IsValid
Gets or sets a value indicating whether the edited data is valid.
Declaration
public bool IsValid { get; set; }
Property Value
true if this instance is valid; otherwise, false.
OldValues
Gets the old values.
Declaration
public IDictionary<string, object> OldValues { get; }
Property Value
The old values.
Row
Gets or sets the row.
ValidationResults
Gets the validation results. Use this property to set custom validation errors.
Declaration
public IList<GridViewCellValidationResult> ValidationResults { get; }
Property Value
IList<GridViewCellValidationResult>
The validation results.