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.
我正在尝试将我的字体粗细属性设置为粗体。但不能那样做。那么如何在 C# 代码中将我的字体粗细属性设置为粗体?
tbgc1.FontWeight.Weight = ?;
using Windows.UI.Text; .... tbgc1.FontWeight = FontWeights.Bold;
请参阅MSDN上的 FontWeight 类