title: Binding an Image in WPF?
body: <p>I wanna show an image in WPF that is created by a process,<br />
  e.g : we have a method that is named createWPFImage()<br /></p>
  
  <pre><code>Image createWPFImage() { ... }
  </code></pre>
  
  <p>So, the output of createWPFImage() is an Image.<br />
  In the XAML code, we have a something like below :<br /></p>
  
  <pre><code>&lt;StackPanel.ToolTip&gt;
      &lt;StackPanel Orientation="Horizontal"&gt;
          &lt;Image Width="64" Height="64" Margin="0 2 4 0" /&gt;
          &lt;TextBlock Text="{Binding Path=Description}" VerticalAlignment="Center" /&gt;
      &lt;/StackPanel&gt;
  &lt;/StackPanel.ToolTip&gt;
  </code></pre>
  
  <p><br />
  Now, How can I bind the output of createWPFImage() to the Image in XAML code ?<br />
  I would be appreciate if you guide me.<br /></p>