WPF DataGrid - How to automatically exit Edit Mode?

前端 未结 1 444
礼貌的吻别
礼貌的吻别 2021-02-19 06:31

I have implemented WPF DataGrid Single-Click Editing from Codeplex. In that solution, the clicked cell is focused and the row is selected to achieve single-click editing of Dat

1条回答
  •  臣服心动
    2021-02-19 07:11

    to flip from cell editing template back to cell template:

    dataGrid.CancelEdit();
    

    0 讨论(0)
提交回复
热议问题