How do reference embedded image resource?

2 posts, 0 answers
  1. Happy
    Happy avatar
    63 posts
    Member since:
    Aug 2008

    Posted 30 Mar 2010 Link to this post

    I'm trying to setup a toolbar control and can't get it to show my images unless I create an image directory within my ClientBin. 

    1) Is there any way to provide a path outside the ClientBin? I tried .. to get out but it doesn't work.
    2) Can I embedded my image as a static resource by just including it in silverlight project, setting it as a resource, and just somehow reference that embedded image from the source property. This is the option I'd prefer.
  2. Happy
    Happy avatar
    63 posts
    Member since:
    Aug 2008

    Posted 30 Mar 2010 Link to this post

    Never mind. Figured it out. That usually happens right after I take the time to post.

    Need to set the file property to "Content".
  3. DevCraft banner
Back to Top