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)
The row.
oldValuesIDictionary<string, object>The old values.
routedEventRoutedEventThe routed event.
Properties
Gets or sets the type of the edit operation.
C#
public GridViewEditOperationType EditOperationType { get; }
The type of the edit operation.
Gets or sets a value indicating whether the edited data is valid.
C#
public bool IsValid { get; set; }
true if this instance is valid; otherwise, false.
Gets the old values.
C#
public IDictionary<string, object> OldValues { get; }
The old values.
Gets or sets the row.
C#
public GridViewRow Row { get; }
The row.
Gets the validation results. Use this property to set custom validation errors.
C#
public IList<GridViewCellValidationResult> ValidationResults { get; }
The validation results.