WPF DataGrid Add right click for each row

 

WPF C# DataGrid Column Sort

 

Reference parent datacontext binding.

Wrong threads crash

Put the following in the viewmodelBase

Example call