The Borders property is readonly, that is why you cannot set it. What you will need to do is create a class that derives from the DataCell class and override the Borders property to return the value you want.
Of course, you will also need to create a custom DataRow class that derives from the DataRow class that will create your custom cells. You can assign your DataRow to the grid’s DataRowTemplate property to use it automatically.
You can find information (as well as templates) on how to create a class that derives from both the DataCell and DataRow class in the help file under <a href=”http://doc.xceedsoft.com/products/gridNet/doc/sources/extending.htm”>Advanced Concepts/Extending</a>.
I hope this helps!
Imported from legacy forums. Posted by Jenny [Xceed] (had 988 views)