I have a WPF DataGrid that shows some data records (bounded to an ObservableCollection).
When the user clicks "Edit" button, the currend selected row should move into edit-mode (As if the user double-clicked this row).
Any idea of someone who knows how to do that ?
views:
1743answers:
1
A:
Here is the documentation of the WPF DataGrid on MSDN. The BeginEdit method seems to be what you are looking for.
PS: I don't know if this is suitable for your application, but many DataGrid users find Single-Click Editing useful.
Heinzi
2009-10-27 08:34:25