What you can try is to add an additional property of type boolean in your object. After building your source, you can traverse it and set the "duplicate" flag with your own code. In this way, you will have an additional column in the grid which will hold an information whether the row is duplicated. Then you can benefit from our RowStyleSelector
. You can use it in order to style the duplicate rows. It will be something similar to this:
public override Style SelectStyle(object item, DependencyObject container)
if (item is MyObject)
MyObject myObject = item as MyObject;
I hope this will work for you.
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer
and share your thoughts.