AvaloniaUI / Avalonia.Controls.TreeDataGrid

A combined TreeView/DataGrid for Avalonia.
MIT License
233 stars 48 forks source link

[Question] How to end cell editing when clicking outside TreeDataGrid control? #267

Open ClassyCircuit opened 4 months ago

ClassyCircuit commented 4 months ago

Currently, when editing the text in a cell, if I click on a different cell within the TreeDataGrid, the current cell loses focus and updates. However, I also want the cell to update when the user clicks on a different control outside the TreeDataGrid. I believe this should be considered a loss of focus as well.

How can I implement this functionality? Is there a way to achieve this through Xaml.Behaviors?