Click here to Skip to main content
15,918,303 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am using listview control in my applications. in that the items text are showing with the wrap format. if i set the label wrap property is false then the first item label text is showing fully, but the second, third items label text are not showing, the first items label text hiding others.

can you please help to show all the items label text fully.

Thanks.
Posted

1 solution

Difficult to tell (for me) what you want - but have you tried to set the ListViews' AutoArrange property to false?
 
Share this answer
 
Comments
Ayyappan Ravi 7-Mar-13 5:18am    
Super.....
After set the property "AutoArrange" is false its working fine now. But all the items label text are displaying continuously, how we can make some spaces or separator in b/w these text.


Thanks.
johannesnestler 7-Mar-13 7:03am    
Sorry I don't know. If nothing helps you have to go for OwnerDraw=true and use DrawItem-event to draw the Items for yourself. The DrawText-method can be used with TextFormatFlags - maybe this can give you the desired result?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900