Class GridViewRowValidatingEventArgs
Contains data needed to handle the RowValidating event.
Inherited Members
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.GridView.dll
Syntax
public class GridViewRowValidatingEventArgs : RadRoutedEventArgs
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
GridViewRow
row
The row. |
System.Collections.Generic.IDictionary<System.String, System.Object>
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
GridViewEditOperationType
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
System.Boolean
|
OldValues
Gets the old values.
Declaration
public IDictionary<string, object> OldValues { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
The old values. |
Row
Gets or sets the row.
Declaration
public GridViewRow Row { get; }
Property Value
GridViewRow
The row. |
ValidationResults
Gets the validation results. Use this property to set custom validation errors.
Declaration
public IList<GridViewCellValidationResult> ValidationResults { get; }
Property Value
System.Collections.Generic.IList<GridViewCellValidationResult>
The validation results. |