I need a way to set back color to selected. Actually scenario is that I need to select a cell and regard that cell i have to fill records. So i need a mechanism to set the back color of seclected cell./ active cell.
When I select another cell the previous cell's back color will set to its default color.
Hi,
I'm not sure what you are asking. The grid applies a BackColor and ForeColor to the selected cells, rows, or columns automatically. By default it uses the system highlight colors. So you don't have to do anything.
If you want to change the color, you can use the SelectedAppearance on any one of a number of objects. You probably want the override object on the grid's DisplayLayout to affect all cells in the grid.