草庐IT

fonticons

全部标签

c# - 从代码 (C#) 使用 FontIcon Glyph

我尝试为通用Windows10应用程序(我们主要在应用程序栏中看到的应用程序)添加一些来自FontIcon类的基本图标。运行这段代码时,运行没有任何问题,但实际上,它显示了一些边框方block,例如无法识别的表情符号。ButtoninfoButton=newButton();infoButton.Content=newFontIcon{FontFamily=newFontFamily("SegoeMDL2Assets"),Glyph="",Foreground=newSolidColorBrush(Colors.WhiteSmoke)}; 最