Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/csharp-4.0/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 4.0 XtraGrid中的单元格和更改背景色?_C# 4.0_Devexpress_Xtragrid - Fatal编程技术网

C# 4.0 XtraGrid中的单元格和更改背景色?

C# 4.0 XtraGrid中的单元格和更改背景色?,c#-4.0,devexpress,xtragrid,C# 4.0,Devexpress,Xtragrid,我有一个三列五行的数据表。 DataTable会将其添加到一个DevExpress XtraGrid中。 如果可能的话,我想更改网格或同一数据表中单元格(3,3)的背景色 问候 alex您需要在GridView上处理CustomDrawCell事件

我有一个三列五行的数据表。 DataTable会将其添加到一个DevExpress XtraGrid中。 如果可能的话,我想更改网格或同一数据表中单元格(3,3)的背景色

问候
alex

您需要在GridView上处理CustomDrawCell事件