I have some fairly complex data I want to put into a list. I'd like to use different fonts, icons and maybe even some custom lines and polygons. Unfortunately the ListBox control in the CF pretty much sucks for this type of thing. What can the SDF do for me?
Yes, the default ListBox control is a bit challenged, but all hope is not lost. The OpenNETCF.Windows.Forms.ListBox2 follows the desktop model and provides owner-drawn capabilities. Here are some screen shots of a sample application we have for the ListBox2 as well as some of the OpenNETCF.Net networking classes.
As you can see, we're drawing items with different font sizes, colors and weights on both screens, plus we're adding some icons in each item in the second and I have that nice and ugly custom "selected" color.
Download the full sample (NetUI) here.