Changing row colors in the Compact Framework DataGrid

倾然丶 夕夏残阳落幕 提交于 2019-11-26 23:24:43

问题


How can I use non-default coloring in the DataGrid control in a Windows CE compact framework application?

I need to color one row in color X and one row in color Y (alternating row colors basically).


回答1:


You'll have to manually do custom drawing. Ilya on the CF team has a straightforward example of doing it on the team blog here.



来源:https://stackoverflow.com/questions/408113/changing-row-colors-in-the-compact-framework-datagrid

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