C# .NET 3.5 CF on Windows CE, Changing row background color in a DataGrid

丶灬走出姿态 提交于 2019-12-10 14:34:45

问题


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


回答1:


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



来源:https://stackoverflow.com/questions/7163481/c-sharp-net-3-5-cf-on-windows-ce-changing-row-background-color-in-a-datagrid

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!