Home › Forums › WinForms controls › Xceed Grid for WinForms › How to measure elapsed time for loading/sorting/groupby events of grid › Reply To: How to measure elapsed time for loading/sorting/groupby events of grid
There is no good way to do this, because for most post-events, there is no corresponding pre-events. For example, for the Sorted event, there is no BeforeSorting event (or whatever name it could have).
The only suggestion we have is to set a test grid, in which you imitate the UI interaction in code and make your measurements in between the calls.
span = time2 – time1;
Debug.WriteLine( span.ToString() );
Imported from legacy forums. Posted by André (had 763 views)