Home » WPFRSS

Setting an image as the background for a WPF user control?

I am trying to set a gif image as my background image in a WPF user control.

I select background in properties.

From the drop down box next to,

System.Windows.Media.ImageBrush..

I click "Select image", find and select an image, intro.gif. V.S. gives it a path "/intro1.gif"

And the display box "Which I suspect should show a miniature of the background image selected", remains with the message "No Image Selected"

Repeated attempts to add the image simply increments the allocated path "/intro2.gif" etc..

And still "No Image Selected"

What am I doing wrong?


<< Previous      Next >>


Microsoft   |   Windows   |   Visual Studio   |   Follow us on Twitter