Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
490
Creating a custom summary
posted

I am creating a custom summary similar to this one: http://help.infragistics.com/Help/Doc/WPF/2014.1/CLR4.0/html/xamGrid_Create_a_Custom_Summary.html

My data is a class that we have developed and it is similar to the TimeSpan class.

In Summarize method of the SynchronousSummaryCalculator implementation, I return the TotalMinutes.

However, in the summary row, I need to instantiate a new object of my class with the sum of the returned TotalMinutes and then call the ToString() method of the object.

What is the best way to approach this task?