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.
Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

860 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