简体   繁体   English

Windows Store应用中的字体粗细

[英]Font weight in windows store app

I'm tryign to set my font weight propert to bold. 我尝试将字体粗细设置为粗体。 But can't do that. 但是不能那样做。 So How can i set my font weight property to bold in c# code? 那么如何在C#代码中将字体粗细属性设置为粗体呢?

tbgc1.FontWeight.Weight = ?; tbgc1.FontWeight.Weight =?;

using Windows.UI.Text;

....

tbgc1.FontWeight = FontWeights.Bold;

See FontWeight class on MSDN 请参阅MSDN上的 FontWeight类

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM