WPF Datagrid group expander text - how to bind?

If you want to display the common value of the property being grouped by, that will be available as CollectionViewGroup. Name so you can just do.

If you want to display the common value of the property being grouped by, that will be available as CollectionViewGroup. Name, so you can just do.

Thanks. I have finally used a different approach as I needed to have more info that I had to fetch manually. I have posted my solution.

– OrPaz Aug 3 '10 at 9:27 I confirm this works and is the correct way to do this. – Benlitz Oct 11 at 15:26.

I have solved my issue by adding a nested class that contains the currently selected grouping (which I manually set ofcourse) + more details I need. Then binding to the class property by using : Ofcourse that I had to declare the class within the xaml resources as follows : My nested class looks as follows : public class GroupingSubject { private static String name = null; private static Object groupType = null; public GroupingSubject() { } public static String Name { get { return name; } set { name = value; } } public static Object GroupType { get { return groupType; } set { groupType = value; } } } Now all is well...

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions