I'm using WpfAnimatedGif in order to display a simple loading gif while the program runs through a database. The issue is that the gif will run while in preview mode, but during runtime the gif is just a static image. Could it be with how I'm saving the image (it's saved as a .gif file) or with how it's being loaded or am I just over thinking this?
<Window x:Class="SDITicketAudit.UIWindows.WaitingScreen"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:gif="http://wpfanimatedgif.codeplex.com"
gif:ImageBehavior.AnimateInDesignMode="True"
Title="Running Audits" ResizeMode="CanMinimize" Height="118.071" Width="245.6"
WindowStartupLocation="Manual" Left="50" Top="100">
<Grid>
<TextBlock x:Name="loadUpdates" HorizontalAlignment="Center" Margin="10,10,0,0" TextWrapping="Wrap" Text="TextBlock" VerticalAlignment="Top" Height="44" Width="220"/>
<Image gif:ImageBehavior.RepeatBehavior="Forever"
gif:ImageBehavior.AnimatedSource="pack://application:,,,/Resources/ajax-loader.gif" />
</Grid>