Hi,
What if you have more items that space available to the listview?
Are you using Details view?
If so use Graphics.MeasureString to get the size of the string, you are
really interested in the height, multiply that for the number of items maybe
you will need to add a constant quantity for the borders and you have the
needed space to show all items.
--
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Mantorok" <ma******@mantorok.com> wrote in message
news:e8**********@newsfeed.th.ifl.net...
Hi all
I have a listview, after I've added all of the items in the listview I
want to set the height so that all items can be viewed at once.
Can this be done, if so, how?
Thanks
Kev