I would like to find a technic to color currrentCell of my dataGrid which already contains a panel control.
I found this tips on the KnowledgeBase:
When the currentcell is not in edit mode, it is generally a part of the selections. It is just that the current cell is not included when the selection rectangle is drawn. This is by design. If you want to see it colored like other selected cells, then you can handle the CellDrawn event and color it there. Here is some code snippets in C# and VB.NET.
private void gridDataBoundGrid1_CellDrawn(object sender,
GridCurrentCell cc = this.gridDataBoundGrid1.CurrentCell;
if(e.ColIndex == cc.ColIndex && e.RowIndex == cc.RowIndex)
using(SolidBrush br = new
It works perfect with a currentCell without Panel Control.
But if the Current Cell contains one Panel Control, it will be colored only after I release the mouse button, not during the Pressure.
Can you help me please?