WPF DataGrid has RowEditEnding but no RowEditEnded

后端 未结 5 1224
生来不讨喜
生来不讨喜 2021-02-19 20:04

I\'ve bound an ObservableCollection to a DataGrid. When I change values in the DataGrid, the RowEditEnding event is raised. But the e.Row.Item is the object before editing, so y

5条回答
  •  情书的邮戳
    2021-02-19 20:58

    Attach to the ObservableCollection's changed event.

    I bound to a DataTable and used the RowChanged event.

提交回复
热议问题