DataGrid.

CancelEdit(DataGridEditingUnit) Method

Summary

Cancels editing mode for the specified DataGridEditingUnit and restores its original value.
Namespace
Avalonia.Controls
Containing Type
DataGrid

Syntax

public bool CancelEdit(DataGridEditingUnit editingUnit)

Parameters

Name Type Description
editingUnit DataGridEditingUnit Specifies whether to cancel edit for a Cell or Row.

Return Value

Type Description
bool True if operation was successful. False otherwise.