title: How to set a Segoe MDL font icon as image source in WPF?
body: <p>I have tried the search function (here and Google of course) and found nothing helpful for my problem.</p>
  <p>I use the ButtonAdv control from Syncfusion (<a href="https://help.syncfusion.com/wpf/button/overview" rel="nofollow noreferrer">https://help.syncfusion.com/wpf/button/overview</a>) and it needs an image source for the icons (LargeIcon, SmallIcon).</p>
  <p>I want to use the Segoe MDL2 font icons as image icon for the button.
  How can I achieve this?
  In Xamarin.Forms there is something like FontImageSource, but I do not find anything like that for WPF.</p>
  <p>I have no line of code (xaml or code behind) right now as I don't know how or where to start. I am happy for every idea or code snippet to find a solution.</p>
  <p>Normally you will write something like that for the font icon:</p>
  <pre><code>&lt;SomeControl&gt;
      &lt;ui:FontIcon Glyph=&quot;&amp;#xE8C6;&quot; Foreground=&quot;Black&quot; /&gt;
  &lt;/SomeControl&gt;
  </code></pre>
  <p>And (if you have an image) for the image source something like that:</p>
  <pre><code>&lt;ButtonAdv LargeIcon=&quot;{StaticResource someImage}&quot; /&gt;
  </code></pre>
  <p>Thank you.</p>