You can load button for a column using GridTemplateColumn. You can refer the below article which explains how to bind the button to the command in ViewModel in SfDataGrid.
This article explains about how to bind the button with command in ViewModel for details view DataGrid. The DataContext of GridViewDefinition.DataGrid is not same as SfDataGrid. So, you can bind the button to the command in ViewModel using Ancestor binding as in the below code snipet,
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:||.NET Framework:|
or the page will be automatically redirected to sign-in page in 10 seconds.