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.
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
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…

762 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now