Home › Forums › WinForms controls › Xceed Grid for WinForms › Custom Painting Column Lines
If you inherits from Xceed.Grid.DataRow you can custom paint the horizontal grid lines by Overriding PaintBorders. Does anyone know if there’s a way of custom painting the Vertical (column?) lines?
I’ve looked at inheriting from Xceed.Grid.Column but as it doesn’t inherit from VisualGridElement, it doesn’t have a PaintBorders method, or any other Paint methods come to that.
Are the Column lines painted by the Grid Control itself? If so, what the best way to paint them from there?
Imported from legacy forums. Posted by bradlads (had 2407 views)
Inherit from Xceed.Grid.DataCell, and override PaintBorders.
Imported from legacy forums. Posted by Tommy (had 258 views)
Thanks for that, no idea how I missed PaintBorders in DataCell!
Imported from legacy forums. Posted by bradlads (had 3441 views)