简体   繁体   中英

Compact Framework - ListView like control?

I have been playing with Compact Framework lately and i need some advice.

I have a collection of items. One of the properties on each item is a string type that holds XML. This XML defines image, font, style etc...

Im looking for a control (similar to listView) that would replace listBox control.

Im not satisfied with listView control, because it is very limited on items level.

The control has to be dynamic enough so that my parser could parse the XML and customise the control. For a start i would like to show an image and perhaps some font styles for each row in the control.

Here is a sample what im trying to achieve:

替代文字
(source: shrani.si )

Any suggestions?

OpenNETCF has a community edition of their Smart Device Framework which is free for download.

I've used the Smart Device Framework in past projects but I'm not too sure if I used the OpenNETCF.Windows.Forms.ListBox2 (see docs ) which is an owner-drawn list and probably the one you want.

好了,您可以编写自己的Custrom Control提供所需的接口。我建议从ListBox 继承

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