I want to store an image in a resource, and then use this image on a button. But I can't seem to get this working. In WPF should I be using resources to store the icons? Or should this be done differently?
Edit: I have Added a png to my Resources, and then in XAML tried:
Expand|Select|Wrap|Line Numbers
- <comp:CFButton x:Name="btnScreenUp">
- <Image Source="Resources/UpScreen.png"/>
- </comp:CFButton>
Also, the button is within a frame, and the frame is referenced within a window. In the window, the button shows up right, but when I look at the Frame xaml, it complains of an error and won't render.