windows应用商店应用程序中的字体权重

windows应用商店应用程序中的字体权重,windows,microsoft-metro,windows-store-apps,windows-store,Windows,Microsoft Metro,Windows Store Apps,Windows Store,我正在尝试将字体权重属性设置为粗体。但我不能这么做。那么,如何在c代码中将字体权重属性设置为粗体 tbgc1.FontWeight.Weight= using Windows.UI.Text; .... tbgc1.FontWeight = FontWeights.Bold; 请参见上的FontWeight类 请参见上的FontWeight类

我正在尝试将字体权重属性设置为粗体。但我不能这么做。那么,如何在c代码中将字体权重属性设置为粗体

tbgc1.FontWeight.Weight=

using Windows.UI.Text;

....

tbgc1.FontWeight = FontWeights.Bold;
请参见上的FontWeight类

请参见上的FontWeight类