locked
Custom Button Image appears as a white square RRS feed

  • Question

  • I'm trying to understand how to correctly create an image file that can be used as the image for a button.

    I've read Thomas's very helpful article here.

    Ive created a 32x32 and a 64x64 JPG image to experiment with, I've created a simple test page and used the example provided by Thomas for specifying a UriSource for a BitmapIcon.

    I know its finding the file because if the image file is removed then I see only an empty white circle for the button, when the file is present I see a plain white square (whose size is the same as the circle's diameter and so hence obscures the circle).

    I have no idea what the rules are for this, must it be a particular image format (PNG?) or what?

    Thanks

    Cap'n

    Thursday, October 31, 2013 4:15 PM

Answers