I need to add a button column to my grid using C# - not XAML. I am able to add a checkbox and a combobox by creating an instance of DataGridCheckBoxColumn and DataGridComboBoxColumn.
What do I use for a button column? I'm guessing DataGridTemplateColumn, but I cannot find any useful examples about how to create it in code behind instead of xaml.
Thanks for any help!