[Mono-dev] ListViewSubItemCollection different behaviour in .net & mono enviroment

marcos b marcosb at internet.com.uy
Thu Sep 18 15:59:55 EDT 2008


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
-- 
View this message in context: http://www.nabble.com/ListViewSubItemCollection-different-behaviour-in-.net---mono-enviroment-tp19560527p19560527.html
Sent from the Mono - Dev mailing list archive at Nabble.com.



More information about the Mono-devel-list mailing list