Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
How do i change the width and height of Listview Item in C# ?

my serial no contains around 30 char length , i need to list out those serial no's in Listview .

For example if my serial no is 34982394585623498;0675234 then it displays as 349...

it should display complete serial no.

any suggestion ?
Posted
Updated 7-Jun-15 18:44pm
v2
Comments
Abhipal Singh 8-Jun-15 0:39am    
Which presentation are you using? ASP, Winforms, WPF....
Archana Palani 8-Jun-15 0:45am    
Winforms .

1 solution

Hello ,
Try this
<br />
listView.AutoResizeColumns(ColumnHeaderAutoResizeStyle.ColumnContent);<br />
listView.AutoResizeColumns(ColumnHeaderAutoResizeStyle.HeaderSize);<br />


thanks
 
Share this answer
 

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