When the content grid is open and you click on the background a System.ArgumentException is thrown, crashing the application.
To Reproduce
Launch Application
Go to 'Content Grid'
Click anywhere on 'The Background'
Scroll down to the 'SelectItem' method in the 'ListViewItemSelectionBehavior.cs' class
See error
Additional context
Exception Message: 'Parameter "parameter" (object) cannot be of type Project.ViewModels.ContentGridViewModel, as the command type requires an argument of type Project.Core.Models.SampleOrder.(Parameter 'parameter')'
Describe the bug
When the content grid is open and you click on the background a System.ArgumentException is thrown, crashing the application.
To Reproduce
Additional context
Exception Message: 'Parameter "parameter" (object) cannot be of type Project.ViewModels.ContentGridViewModel, as the command type requires an argument of type Project.Core.Models.SampleOrder.(Parameter 'parameter')'
Applies to the following platforms:
About your setup