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

Contains info needed to handle RowEditEndedEvent.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.GridView.dll

Syntax:

C#
public class GridViewRowEditEndedEventArgs : RadRoutedEventArgs

Inheritance: objectRadRoutedEventArgsGridViewRowEditEndedEventArgs

Constructors

Initializes a new instance of the GridViewRowEditEndedEventArgs class.

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

The row.

newDataItemobject

The new data item.

routedEventRoutedEvent

The routed event.

oldValuesIDictionary<string, object>

The old values.

Properties

Gets the edit action.

C#
public GridViewEditAction EditAction { get; }
Property Value:

The edit action.

Gets the edited item.

C#
public object EditedItem { get; }
Property Value:

The edited item.

Gets the type of the edit operation.

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

The type of the edit operation.

Gets the new data of the edited row.

C#
public object NewData { get; }
Property Value:

The new data.

Gets the old values.

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

The old values.

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.

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

The row.

Gets the errors defined by user via RowValidating event.

C#
public IList<string> UserDefinedErrors { get; }