I have added above code in my WPF from which include animated GIF image, the problem is whenever form load I don't find any of the Image displayed on form, any suggestions ???
<Image Name="imgScan" Source="Images\Pre_Scan_RealImage.gif" />
I even tried Image element shown above
Use XAML below
<MediaElement Height="30" Width="30" LoadedBehavior="Play" Source="Images\loading.gif" />
Set properties of loading.gif
It should work.
WPF at the moment doesn't natively support animated GIFs.
You can get around it by hosting the image in a PictureBox.
EDIT : Also checkout this thread for a bit more info.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With