I have a ViewModel that is used in Windows 8, Android and iOS as part of a Xamarin Project. I now need to display that VM in a ListView in WPF.
That VM exposes some already grouped data as ObservableCollection<GroupedResult<string, SearchResult>>. GroupResult has a Key (String) property and an IEnumerable Source property
With a Windows 8 ListView I can assign that data to a CollectionViewSource (CVS), tell the CVS the path to the Items property PropertyPath("Source") and it works fine.
However WPF seems to want an ungrouped List fed to its CVS so it can Group it all itself. How do I tell the WPF CVS that the VM contains already Grouped data?