title: How to properly use image resource in WPF application
body: <p>What is the best way to store static images (like toolbox icons) in a WPF app?
  Right now I have Images directory and use them like this:</p>
  
  <pre><code>&lt;dxb:BarButtonItem x:Name="rbSignOut" Content="Sign out" Glyph="Images/Icons/close-16x16.png" LargeGlyph="Images/Icons/close-32x32.png" /&gt;
  </code></pre>
  
  <p>I think it's not the best practice because when I move XAML file in to a subfolder, I need to change all paths. Also, it just does not seems right to store paths in code. So how do I do it properly?</p>