【问题标题】:Font weight in windows store appWindows商店应用程序中的字体粗细
【发布时间】:2013-08-29 23:42:26
【问题描述】:

我正在尝试将我的字体粗细属性设置为粗体。但不能那样做。那么如何在 c# 代码中将字体粗细属性设置为粗体?

tbgc1.FontWeight.Weight = ?;

【问题讨论】:

    标签: windows microsoft-metro windows-store-apps windows-store


    【解决方案1】:
    using Windows.UI.Text;
    
    ....
    
    tbgc1.FontWeight = FontWeights.Bold;
    

    请参阅MSDN 上的 FontWeight 类

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-10-04
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多