On Sep 11, 11:45*am, "Ignacio Machin ( .NET/ C# MVP )"
<ignacio.mac...@gmail.comwrote:
On Sep 10, 2:29*pm, NvrBst <nvr...@gmail.comwrote:
I have ListView in Detail Mode and the length of each item is cut off
at 259 characters. *The "listView1.Items[SelectedItem].Text" contains
the entire string, however, just the display is truncated at 259
characters. *Is there a way to increase this?
Thanks
Is this stated in the docs?
It might be a problem with the nuderlying unmanaged control.
Ahh your right, I just noticed that when I make a "new
ListViewItem(string ...)" intellisence gives me "text: The text to
display for the item, this should not exced 259 characters". I think
it probably has to do with the listview underneath the .NET wrapper as
well; I'll just try to break up my lines of text into meaningful sub
parts, or maybe try switching to DataGridView again which doesn't have
this problem (I used it initally, but it never liked adding a lot of
empty rows in virtual mode...). Was taking up ~80MB memory while the
ListView with the same amount of virtual rows was ~10MB; but I didn't
play with DGV too much, maybe I'll try again.
NB