【发布时间】:2013-08-29 23:42:26
【问题描述】:
我正在尝试将我的字体粗细属性设置为粗体。但不能那样做。那么如何在 c# 代码中将字体粗细属性设置为粗体?
tbgc1.FontWeight.Weight = ?;
【问题讨论】:
标签: windows microsoft-metro windows-store-apps windows-store
我正在尝试将我的字体粗细属性设置为粗体。但不能那样做。那么如何在 c# 代码中将字体粗细属性设置为粗体?
tbgc1.FontWeight.Weight = ?;
【问题讨论】:
标签: windows microsoft-metro windows-store-apps windows-store
using Windows.UI.Text;
....
tbgc1.FontWeight = FontWeights.Bold;
请参阅MSDN 上的 FontWeight 类
【讨论】: