Hi,
I am displying summary information in the group by row. Do it is displayed as below:
GroupByColumnValue (n items) Summary1, Summary2
By Default summary is displayed seperated by comma and this is a string.
I want to style this information in such a way that GroupByColumnValue is in different foreground color, summary1 is in different color and summary2 is in different color.
I looked at GroupByArea Style but could not find a way to style this text, as this whole text is treated a single string.
You might achive this using a converter for the content of the GroupByRecord where you can split the string to a collection of Run elements. You can then set different Foreground colors. Please check out the attached sample project for more details.
Hi Vlad,
Thanks for this, I tried your solution I got summaries values in the converter but did not get values of the column. So converter is getting below value.
"System.Data.DataView (0 items) Filled 0, AvgPx = .0000"
Instead of group by value it is showing System.Data.DataView, is there any way to get this in the converter and apply color based on that?
Thanks,
Naveen