引用字体
<UserControl.Resources>
<FontFamily x:Key="IconFont">
Pack://application:,,,/MyApp;component/font/#fontname
</FontFamily>
</UserControl.Resources>
使用
如果在viewmodel中或后台代码中使用,直接使用xe692即可(移除开头的&#,换成,然后将结尾的;移除)
txt.Text = "xe621";