[Mono-bugs] [Bug 82582][Nor] New - Canvas.FindName failing

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Aug 24 19:37:56 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 alan.mcgovern at gmail.com.

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

--- shadow/82582	2007-08-24 19:37:55.000000000 -0400
+++ shadow/82582.tmp.24496	2007-08-24 19:37:56.000000000 -0400
@@ -0,0 +1,33 @@
+Bug#: 82582
+Product: Moonlight
+Version: 1_0
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: xaml
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: alan.mcgovern at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Canvas.FindName failing
+
+If i have the following:
+
+Canvas c = new Canvas();
+Rectangle r = new Rectangle();
+TransformGroup g = new TransformGroup();
+RotateTransform rotate = new RotateTransform();
+rotate.SetValue<string>(DependencyObject.NameProperty, "Name");
+g.Children.Add(rotate);
+r.RenderTransform = g;
+c.Children.Add(r);
+
+c.FindName("Name");
+
+it returns null. It should be able to find the RotateTransform as it is in
+the rectangle which is in the canvas.


More information about the mono-bugs mailing list