问题
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