I want to add custom icon in WPF. I use entypo
and Font-Awesome
.
I add this pakage in solution and use it in XAML.
<UserControl.Resources>
<Style x:Key="FontAwesome">
<Setter Property="TextElement.FontFamily" Value="fonts/FontAwesome.ttf" />
</Style>
</UserControl.Resources>
<TextBlock Text="" Style="{DynamicResource FontAwesome}" />
But don't show Icon.