0

I have grid in wpf. I want to change background of grid with image who support gif image. I have use following code for set image to the grid :

       ImageBrush myBrush = new ImageBrush();
                    myBrush.ImageSource = new BitmapImage(new Uri(ImagePath));                        
                    this.GridName.Background = myBrush;

So here how can i change behavior of background for support GIF image;

0 Answers0