0

Since Windows 10 has .NET introduced the property FontIcon.Glyph. If you add code below to your xaml page if gives me next char Σ.

<FontIcon FontFamily="Candara" Glyph="&#x03A3;"/>

So I was thinking can you add an other icon font like Font Awesome or Icomoon info your project?

H. Pauwelyn
  • 13,575
  • 26
  • 81
  • 144

1 Answers1

0

I've download a font, added into my solution and I use this code:

<FontIcon FontFamily="ms-appx:/Fonts/FontAwesome.otf#FontAwesome"  Glyph="&#xF055;" Foreground="Black"/>

what results into this:

enter image description here

H. Pauwelyn
  • 13,575
  • 26
  • 81
  • 144
  • Did you download font awesome from NuGet? – Blaise Jun 10 '16 at 18:46
  • 1
    For this solution, nope, I didn't download it from NuGet. For my future and current solutions I've found that NuGet package and I use that. [See this answer](http://stackoverflow.com/questions/23108181/changing-font-icon-in-wpf-using-font-awesome/36678831#36678831) – H. Pauwelyn Jun 11 '16 at 06:24