[Mono-bugs] [Bug 81847][Nor] New - AfterLabelEdit even in Treeview

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Jun 10 10:19:57 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 tmm at aon.at.


--- shadow/81847	2007-06-10 10:19:57.000000000 -0400
+++ shadow/81847.tmp.18829	2007-06-10 10:19:57.000000000 -0400
@@ -0,0 +1,30 @@
+Bug#: 81847
+Product: Mono: Class Libraries
+Version: 1.0
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: tmm at aon.at               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: AfterLabelEdit even in Treeview
+There is a bug in the AfterLabelEdit event from the Treeview.
+The Property e.Node from the NodeLabelEditEventArgs is null. I had a look
+at the code and found what I think is the problem
+In Treeview.cs, function BeginEdit, Line 1457
+edit_args = new NodeLabelEditEventArgs (edit_node);
+edit_node seems to be the node that is getting edited. But edit_node is set
+only _after_ creating an Instance of NodeLabelEditEventArgs. So the e.Node
+is always null!

More information about the mono-bugs mailing list