Class
GridViewRowEditEndedEventArgs

Contains info needed to handle RowEditEndedEvent.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.GridView.dll

Syntax:

cs-api-definition
public class GridViewRowEditEndedEventArgs : RadRoutedEventArgs

Inheritance: objectRadRoutedEventArgsGridViewRowEditEndedEventArgs

Constructors

GridViewRowEditEndedEventArgs(GridViewRow, object, RoutedEvent, IDictionary<string, object>)

Initializes a new instance of the GridViewRowEditEndedEventArgs class.

Declaration

cs-api-definition
public GridViewRowEditEndedEventArgs(GridViewRow row, object newDataItem, RoutedEvent routedEvent, IDictionary<string, object> oldValues)

Parameters

row

GridViewRow

The row.

newDataItem

object

The new data item.

routedEvent

RoutedEvent

The routed event.

oldValues

IDictionary<string, object>

The old values.

Properties

EditAction

Gets the edit action.

Declaration

cs-api-definition
public GridViewEditAction EditAction { get; }

Property Value

GridViewEditAction

The edit action.

EditOperationType

Gets the type of the edit operation.

Declaration

cs-api-definition
public GridViewEditOperationType EditOperationType { get; }

Property Value

GridViewEditOperationType

The type of the edit operation.

EditedItem

Gets the edited item.

Declaration

cs-api-definition
public object EditedItem { get; }

Property Value

object

The edited item.

NewData

Gets the new data of the edited row.

Declaration

cs-api-definition
public object NewData { get; }

Property Value

object

The new data.

OldValues

Gets the old values.

Declaration

cs-api-definition
public IDictionary<string, object> OldValues { get; }

Property Value

IDictionary<string, 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

cs-api-definition
public GridViewRow Row { get; }

Property Value

GridViewRow

The row.

UserDefinedErrors

Gets the errors defined by user via RowValidating event.

Declaration

cs-api-definition
public IList<string> UserDefinedErrors { get; }

Property Value

IList<string>