I'm trying to use the ImageBrush brush in a rectangle to make a picture slideshow in Silverlight, but I'm getting this error everytime I try:
Silverlight Error Message
ErrorCode: 3002
ErrorType: ImageError
Message: AG_E_NOT_FOUND
Here's the code that is giving me the trouble:
I can't figure out why its not working- all the references are correct.
Silverlight Error Message
ErrorCode: 3002
ErrorType: ImageError
Message: AG_E_NOT_FOUND
Here's the code that is giving me the trouble:
Code:
<Rectangle Height="180" Width="90" Canvas.Left="10" Canvas.Top="10" Stroke="Black" StrokeThickness="1"> <Rectangle.Fill> <ImageBrush ImageSource="photos/image1.PNG"/> </Rectangle.Fill> </Rectangle>
Comment