How can I set the Bold typeface for System.Windows.Fontstyle?
.net, c#
Solution
`Bold` isn't a FontStyle. It is a font weight. See `this` and `this` links.
For example:
control.FontWeight = FontWeights.Bold;
`Update`: Of course this answer is for XAML based frameworks (WPF, Silverlight, WinPhone, WinRT). In other frameworks bold can be style or something else.
Problem
There are only `Italic`, `Normal`, `Oblique`. But I need to set my `FontStyle` Bold.