Pergunta

Currently, I can highlight focused row by changing background appearance color in RowStyle event. But it does not provide to change border of that row.

I tried override DrawFocusRectangle of XPaint but it will not be shown in case the grid is not focused.

Anybody gives me another way, please?

Foi útil?

Solução

You need to use the CustomDrawCell event and paint the row border.

How to draw thick cell borders by handling the Paint event

If you want to achieve excel like selection functionality, the paint event will give you a better result - http://www.devexpress.com/Support/Center/p/Q202033.aspx

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top