Class GridViewRowEditEndedEventArgs
Contains info needed to handle RowEditEndedEvent.
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.GridView.dll
Syntax
public class GridViewRowEditEndedEventArgs : RadRoutedEventArgs
Constructors
GridViewRowEditEndedEventArgs(GridViewRow, Object, RoutedEvent, IDictionary<String, Object>)
Initializes a new instance of the GridViewRowEditEndedEventArgs class.
Declaration
public GridViewRowEditEndedEventArgs(GridViewRow row, object newDataItem, RoutedEvent routedEvent, IDictionary<string, object> oldValues)
Parameters
GridViewRow
row
The row. |
System.Object
newDataItem
The new data item. |
System.Windows.RoutedEvent
routedEvent
The routed event. |
System.Collections.Generic.IDictionary<System.String, System.Object>
oldValues
The old values. |
Properties
EditAction
Gets the edit action.
Declaration
public GridViewEditAction EditAction { get; }
Property Value
GridViewEditAction
The edit action. |
EditedItem
Gets the edited item.
Declaration
public object EditedItem { get; }
Property Value
System.Object
The edited item. |
EditOperationType
Gets the type of the edit operation.
Declaration
public GridViewEditOperationType EditOperationType { get; }
Property Value
GridViewEditOperationType
The type of the edit operation. |
NewData
Gets the new data of the edited row.
Declaration
public object NewData { get; }
Property Value
System.Object
The new data. |
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 the edited GridViewRow. In some rare cases (when row leaves the grid's visible area), the real row for the edited item is a new one. In these cases you can perform any actions on the new row using ScrollIntoViewAsync(Object, Action<FrameworkElement>) method.
Declaration
public GridViewRow Row { get; }
Property Value
GridViewRow
The row. |
UserDefinedErrors
Gets the errors defined by user via RowValidating event.
Declaration
public IList<string> UserDefinedErrors { get; }
Property Value
System.Collections.Generic.IList<System.String>
|