private void ExecuteShowWindowCommand() { var vm = new DataGridButtonSubViewModel(); vm.ItemName = CurrentRowItem.ItemName; vm.Quantity = CurrentRowItem.Quantity; WindowDisplayService.ShowDialog("SubWindowKey", vm); }