C#.NET CF 3.5在Windows CE上,更改行背景颜色在DataGrid颜色、背景、CF、NET

2023-09-07 04:27:16 作者:再吵再闹不说分手

我使用C#.NET CF 3.5开发的Windows CE。我工作的一个DataGrid和需要知道如何改变行的背景色上DataGrid中。在此先感谢

I am using C# .NET 3.5 CF developing for Windows CE. I am working on a dataGrid and need to know how to change the background color of a row on the dataGrid. Thanks in advance

推荐答案

您必须手动绘制它。 Here's一个博客文章描述选择行,这是刚刚画用不同的颜色。

You have to manually draw it. Here's a blog article describing "selecting" a row, which is just painting it with a different color.