title: How to bind Image Source when the image is a file?
body: <p>I have a hard coded Image Source defined like this (the image is located in a file):</p>
  
  <pre><code>&lt;Image Source="C:\Work\my_image.png"/&gt;
  </code></pre>
  
  <p>The image is shown, all works. But now I would instead like to bind this Image Source. I tried like this:</p>
  
  <pre><code>&lt;Image Source="{Binding ImageFilename}"/&gt;
  </code></pre>
  
  <p>And</p>
  
  <pre><code>public class DataStuff
  {
      public string ImageFilename { get; set; }
  
      public DataStuff(string imageFilename)
      {
          ImageFilename = imageFilename;
      }
  }
  </code></pre>
  
  <p>And</p>
  
  <pre><code>    public MainWindow()
      {
          InitializeComponent();
          DataContext = new DataStuff(@"C:\Work\my_image.png");
      }
  </code></pre>
  
  <p>But the image is not shown.</p>
  
  <p>What am I missing?</p>