简体   繁体   中英

Datagrid in Compact Framework - format cell

I would like to format (cell background color for a whole row) a gridview in Compact Framework.

It would not be something like alternating row style, but it would depend on some data the datasource has. So it's like ex.: one row out of total 4 rows for the dt.

What is the simplest way?

Do i need to override Paint() ?

在Codeplex上有一个自定义CF DataGrid格式的相当广泛的示例

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM