[Mono-dev] ListViewSubItemCollection different behaviour in .net & mono enviroment
Jonathan Pobst
monkey at jpobst.com
Thu Sep 18 16:12:17 EDT 2008
Weird, I wonder why it adds a subitem for the item passed in as the
owner. But it does, please file a bug and we'll fix it.
http://www.mono-project.com/Bugs
Thanks!
Jonathan
marcos b wrote:
> If i run the following test using .net environment subItems.Count returns 2,
> if I do it using mono environment subItems.Count returns 1.
>
> I'm having other problems also with the list view so my question is if there
> are many bugs reported about this control and related classes.
>
> [Test]
> public void ListViewSubItemCollectionTest()
> {
> System.Windows.Forms.ListViewItem.ListViewSubItemCollection
> subItems;
> subItems = new
> System.Windows.Forms.ListViewItem.ListViewSubItemCollection(new
> ListViewItem(""));
> subItems.Add("bla bla");
>
> Console.WriteLine(subItems.Count);
> }
>
> Thanks in advance
More information about the Mono-devel-list
mailing list