I have a grid (table) like structure with rows and columns, and I am assigning the background color for every cell using the border
object.
How do I change the background color for every cell of the grid?
This is my approach:
Delete the border object and assign it a new one.
I have also tried to create a new
Border
object, and add it. But it throwsInvalidOperationException
stating "Element is already the child of another element".
How can I change the background color for a particular table row?