简体   繁体   中英

Wpf DataGrid adding new row

In Wpf DataGrid in the bottom there is an "blank new row" for adding new row. 在此输入图像描述

When I start adding new row (typing in "blank new row") the blank new row disappears 在此输入图像描述
So in order to start adding new row I need Tab Of(lost focus) from current row.

How to make "empty new row" appear in the bottom when I'm adding new row?

将Datagrid的CanUserAddRows属性设置为True

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM