Listview item multiline on Windows Mobile

Posted on 2009-07-01
Last Modified: 2013-12-21
I'm working for Windows mobile 6 with compact framework 3.5.
I want to have a Listview, or other control (only Microsoft) to have two line on one item.
The lines havent same font size.

Please, look, example below.

It's possible ?

Question by:Anticylone
  • 4
  • 3
LVL 24

Expert Comment

ID: 24755319
look here for the sample for custom DataGrid:

here is some code to customise ListView:,category,ListView%20header.aspx

The main idea is to override Paint() or DrawItem()
LVL 24

Expert Comment

ID: 24755550

Author Comment

ID: 24761547
Thank's you for this samples.

I try to override the OnPaint event of ListView, but don't know which item is painting and I have not found the DrawItem event.
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

LVL 24

Expert Comment

ID: 24761617
I think DataGrid might be easier, with ListView it is more complicated, but for some sample you could look here:

Author Comment

ID: 24763051
Thank's for your response.

I finaly find this link :
Now it work as ListView

LVL 24

Accepted Solution

alexey_gusev earned 500 total points
ID: 24763195
great :)

Author Closing Comment

ID: 31598793
Thank's for your help.

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question