Summary
Commits editing mode for the specified DataGridEditingUnit and pushes changes to the backend.
- Namespace
- Avalonia
.Controls - Containing Type
- DataGrid
Syntax
public bool CommitEdit(DataGridEditingUnit editingUnit, bool exitEditingMode)
Parameters
Name | Type | Description |
---|---|---|
editingUnit | DataGridEditingUnit | Specifies whether to commit edit for a Cell or Row. |
exitEditingMode | bool | Editing mode is left if True. |
Return Value
Type | Description |
---|---|
bool | True if operation was successful. False otherwise. |