Forum Discussion

rshahwan's avatar
rshahwan
Occasional Contributor
13 years ago

DevExpress: background color

Hi



I'm using DevExpress 11.1.4 extragrid application. I can't get testComplet to indentify the propertyies of a row or column. how can i know the background color of a row in the grid. 



My test cases



1. Create a coloring template

2. Apply the template

3. Validate the rows are colored 





Any help



Thanks



Rami  
  • Julia_K's avatar
    Julia_K
    SmartBear Alumni (Retired)

    Hello Rami,


    To get the background color of the DevExpress XtraGrid columns and rows, you can use the native properties of the XtraGrid control.

    Please look through the Get an XtraGrid cell's backcolor article - it contains an example that demonstrates how to get the background color of the XtraGrid cell by using the grid's native methods and properties.


    Good luck.