SfDataGrid allows you to load HeaderTemplate for a GridColumn to load a customized view of choice. You can bind a property in the ViewModel to a view inside the HeaderTemplate and set its BindingContext to be the reference of ViewModel to get it working.
Refer the below code example in which a property in ViewModel is bind to the Label and its BindingContext is set as ViewModel.
On executing the above code, the below output will be obtained.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|