471,337 Members | 1,091 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,337 software developers and data experts.

Multi-line ListView in VS.NET

I think this question has been asked before, but I haven't found
a satisfactory answer.

Does anyone know how to make a ListView that displays multiple
lines in a row?

Jim


Jan 21 '06 #1
3 8468
I'm not 100% sure, but I think that you have to move up to a grid for
that.

Jan 21 '06 #2
"JimC" <ji**@nospam.pls> wrote in message
news:QM****************@newssvr12.news.prodigy.com ...
Does anyone know how to make a ListView that displays multiple
lines in a row?


Do you mean something like setting the View property to Details?
Jan 22 '06 #3

"James Park" <ab*@xyz.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
"JimC" <ji**@nospam.pls> wrote in message
news:QM****************@newssvr12.news.prodigy.com ...
Does anyone know how to make a ListView that displays multiple
lines in a row?


Do you mean something like setting the View property to Details?


Hmm. I'm not quite sure how that would make multi-line viewing
possible, but I may be failing to grasp something here. A
ListViewItem has a read-only property called DisplayRectangle
which unfortunately can't be set. Or I don't see a way of setting
it. Does the Text property (which is derived from Control.Text)
have some method that accepts multiline strings and then
forces its display rectangle to re-size? That would probably
accomplish what I want.

Or is there perhaps some ListViewItem or SubItems
style setting that I've overlooked? If anyone knows,
t.i.a!

Jim


Jan 22 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

37 posts views Thread by ajikoe | last post: by
4 posts views Thread by Frank Jona | last post: by
5 posts views Thread by bobwansink | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.