DataGrid Cell Color - C#
-
Hi All, Does any one know how to retrive a datagrid cell color? I am using a datagrid which uses multiple colors? I required to print that datagrid. While printing I need to retain the cell colors. As of now I know only to get the header color of a datagrid. I will appreciate if someone can help me in solving the problem. Thanks, Jo
-
Hi All, Does any one know how to retrive a datagrid cell color? I am using a datagrid which uses multiple colors? I required to print that datagrid. While printing I need to retain the cell colors. As of now I know only to get the header color of a datagrid. I will appreciate if someone can help me in solving the problem. Thanks, Jo
hi, Here in this article i am trying to assign and update colors of rows, cells etc. You can use this to know how to change the color of cells DataGridTableStyle ************************** S r e e j i t h N a i r **************************
-
hi, Here in this article i am trying to assign and update colors of rows, cells etc. You can use this to know how to change the color of cells DataGridTableStyle ************************** S r e e j i t h N a i r **************************
Hi Sreejith, That article is nice. I am interested in getting the color of a given datagrid cell. thanks, Jo
-
Hi All, Does any one know how to retrive a datagrid cell color? I am using a datagrid which uses multiple colors? I required to print that datagrid. While printing I need to retain the cell colors. As of now I know only to get the header color of a datagrid. I will appreciate if someone can help me in solving the problem. Thanks, Jo
DataGrid.Items[0].Cells[0].BackColor;
-
DataGrid.Items[0].Cells[0].BackColor;
Hi Mark, I am using DataGrid in Windows forms. I couldn't find anything like DataGrid.Item[0] regards Jo