简体   繁体   中英

Custom listview control for windows mobile in c#

I need to develop a custom listview control (ie, i need two labels and a progress bar in each list item) . I am new to windows mobile so please help me with code samples.

Customizing the ListView from C# is difficult - bordering on insane in fact. Your requirements aren't too terrible since you only want to draw (ie you don't want a TextBox or other input type control in an item), so it makes it at least somewhat manageable, but it still requires a lot of P/Invoke shenanigans.

Christian Helle has a decent blog post that covers custom-draw ListViews in the CF that would be a good start if you don't know where to begin.

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