Home › Forums › WPF controls › Xceed DataGrid for WPF › Adding a Command Button for Edit to each row
I have a grid that acts as a read only view of data. I want the user to be able to press a button on each row that would take the user to another screen to be able to edit that row of data.
I was hoping someone has an example of adding a button to each row for this. I’ve added my columns via C# code (not XAML) so I’m hoping I can get an example of this using C# code…
Thanks in advance.
Imported from legacy forums. Posted by Greg (had 2912 views)
I’m looking for something similar. Has anyone done anything like this?
thanks in advance, too
Imported from legacy forums. Posted by Jack (had 485 views)
What you need to do is Change the ControlTemplate for the DataRow class….
This can be done by creating an implicit style for DataRow and affect your customized ControlTemplate.
You can start with the ControlTemplate availlable in the Xceed DataGrid for WPF 1.1\Themes folder.
Imported from legacy forums. Posted by Marcus [Xceed] (had 214 views)
Did anyone get an example of this operative ?
Imported from legacy forums. Posted by Desmond (had 3830 views)