[IronPython] Can't Get an Image on a Button Ipy Silverlight

Andrew Evans andrew.canit at gmail.com
Tue Jan 5 21:44:15 CET 2010

I have been trying for two days now and can't seem to get it right. It
doesn't help that Silverlight returns no errors

Can any one help me figure out how to use an image as a Button in

some code I have tried

        self.stopB = Button() # stop button
        imageSource = Uri("images/stop.jpg", UriKind.Relative)
        stopImage = Image()
        stopImage.Source = imageSource
        self.stopB.Content = stopImage


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20100105/a6bec676/attachment.html>

More information about the Ironpython-users mailing list