Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以在standardstyles.xaml 中的WinRt 应用程序中为ContentControlThemeFontFamily 设置自定义字体?
你有什么例子吗?
创建您自己的资源字典并覆盖主题。
<ResourceDictionary.ThemeDictionaries> <ResourceDictionary x:Key="Default"> <FontFamily x:Key="ContentControlThemeFontFamily">Times new roman</FontFamily> </ResourceDictionary> </ResourceDictionary.ThemeDictionaries>