[Mono-bugs] [Bug 324964] Canvas.Top and Canvas.Left not obeyed

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Nov 13 08:32:57 EST 2007


Sebastien Pouliot <spouliot at novell.com> changed:

           What    |Removed                                         |Added
                 CC|                                                |spouliot at novell.com
             Status|NEW                                             |RESOLVED
         Resolution|                                                |WORKSFORME

--- Comment #1 from Sebastien Pouliot <spouliot at novell.com>  2007-11-13 06:32:57 MST ---
The supplied code doesn't run on Silverlight 1.1. This fragment:

        InitializeFromXaml("<Rectangle Name=\"Rect\" />");
        rect = (Rectangle)FindName("Rect");

always results in a null rect (throwing a NullReferenceException at the next
line). Changing the lines for:

        rect = (Rectangle) InitializeFromXaml("<Rectangle Name=\"Rect\" />");

does return a Rectangle instance.

Anyway setring Canvas.Left and/or Canvas.Top works in both Moonlight and

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list