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
Silverlight

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

Cheers

Andrew
_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to