color whole row instead of single cell

后端 未结 2 2014
礼貌的吻别
礼貌的吻别 2021-01-15 20:23

Ive been trying to change the background color of a row in the Compact Framework DataGrid and have found little success since the DataGrid on .NET CF is limited compared to

2条回答
  •  醉梦人生
    2021-01-15 21:00

    I haven't worked with CF, but I thought I would throw this out there... If you can access the cell, wouldn't the row be it's NamingContainer? If so you could drill up to the row and apply a style or add an attribute with a CSS class.

提交回复
热议问题