"LayoutRoot.Children.Add(image);" at the end of your code, and see what happens~
Silverlight will not render or load your image if this element is not in the visual tree, so add it to your "SomeParent"'s children list, and make it "alive", so you'll catch the MessageBox!
Try it, and if I've missed something pls tell me, nice to work around with this platform~
struggle-luan
Member
592 Points
104 Posts
Re: Possible bug on Image events not firing
Apr 23, 2009 02:54 AM | LINK
[:D]
Hi~ This is not an error but thank you though~
Try to add
"LayoutRoot.Children.Add(image);" at the end of your code, and see what happens~
Silverlight will not render or load your image if this element is not in the visual tree, so add it to your "SomeParent"'s children list, and make it "alive", so you'll catch the MessageBox!
Try it, and if I've missed something pls tell me, nice to work around with this platform~