[Mono-bugs] [Bug 81205][Nor] New - ListViewItem constructor doesn't create subitems

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Mar 21 10:54:29 EDT 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by bugzilla at woy.nl.

http://bugzilla.ximian.com/show_bug.cgi?id=81205

--- shadow/81205	2007-03-21 09:54:27.000000000 -0500
+++ shadow/81205.tmp.5241	2007-03-21 09:54:27.000000000 -0500
@@ -0,0 +1,27 @@
+Bug#: 81205
+Product: Mono: Class Libraries
+Version: 1.2
+OS: other
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: bugzilla at woy.nl               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: ListViewItem constructor doesn't create subitems
+
+The constructor of Listview wich takes a array of strings doesn't create 
+the sub-items when the values in the array are null. The MS version does 
+create the sub-items.
+
+ListViewItem item = new ListViewItem( new string[3] );
+Assert( item.SubItems.Count == 3 );
+
+On MS Windows forms this is true on the mono framework this is false. 
+Probably null elements are ignored by mono but not by MS


More information about the mono-bugs mailing list