I have a listview with two groups. The code is the same for Windows and Wpf applications, but when I show the listview, in Wpf application, there isn't grouping.
Here' the code:
private System.Windows.Forms.ListView listView1;
ListViewGroup group1 = listView1.Groups.Add(fur.GetHashCode().ToString(),
fur.GetType().ToString() + " - " + fur.Message);
//some more code
group1.Items.Add(something);