I have a wpf app, where a datagrid has autogeneratedcolumns, and I want after that columns add two more containing buttons, I've tried working with datagridtemplatecolumn and code, but nothing. Any help? Thanks...
<DataGridTemplateColumn>
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<Button x:Name="btnEdit" Tag="{Binding Category}">Edit</Button>
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>