microsoft / TemplateStudio

Template Studio accelerates the creation of new WinUI 3, WPF, and UWP apps using a wizard-based experience.
Other
2.69k stars 459 forks source link

Content Grid User-Unhandled Exception #4708

Open Elkhunder opened 1 year ago

Elkhunder commented 1 year ago

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

  1. Launch Application
  2. Go to 'Content Grid'
  3. Click anywhere on 'The Background'
  4. Scroll down to the 'SelectItem' method in the 'ListViewItemSelectionBehavior.cs' class
  5. 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')'

Applies to the following platforms:

About your setup