Hi,
I have a GridViewCommandColumn with buttons that are not always visible (using e.CellElement.Visibility = ElementVisibility.Hidden). When they are not visible the border lines around the cell disappear (see image 1).
I tried to fix this using EnableCustomDrawing=True and subscribing to the CellPaint event and draw the border manually, but this does not seem to work. In fact the CellPaint event seem to happen BEFORE the buttons is drawn. I came to this conclusion by drawing a black border around all cells, and got the result in image 2.
How can I fix this missing border problem?
/Per