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.
+4
A:
Customizing the ListView from C# is difficult - bordering on insane in fact. Your requirements aren't too terrible since you only want to draw (i.e. 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.
ctacke
2009-11-13 16:14:21
Excellent find Chris!
hjb417
2009-11-16 14:44:11
+1
A:
A great example how tricky might be the use of standard ListView, and other controls when developing mobile apps is the following article: http://www.codeproject.com/KB/showcase/CF%5FDevelopment.aspx.
Ivan
2009-12-02 14:14:18