title: WPF how to load a gif?
body: <p>I am no sure what I am doing wrong to load a gif in the window.  An animated gif would be best if possible even if it only looped once (don't need to control it).</p>
  
  <pre><code>//WPF
  &lt;Image Name="ImageViewer1" Height="100" Width="100" Margin="340,178,0,0" /&gt;
  
  //Load Gif
  public MainWindow()
      {
          InitializeComponent();
          ImageViewer1.Source = new Image(@"giphy.gif");
      }
  </code></pre>