I would like my <DataGrid/>
with CanUserAddItems="true"
to instatiate the new ItemVM
when the Blank Row gains focus intead of the default behaviour, to create new ItemVM
when the blank row is first edited. Or in other words, I would like to change the default DataGrid
's workflow from:
- User enters Blank Row
- User presses F2
- New
ItemVM
gets instantiated
to custom workflow that does not require explicitly edit the Blank Row first:
- User enters Blank Row
- New
ItemVM
gets instantiated
it is not important at which point the new ItemVM
is added to bound ItemsSource
.