Using a System.Drawing.Font with a WPF Label
问题 I have a WPF Label control which I'm trying to change the appearance of using a System.Drawing.Font object supplied by some legacy code. I have been able to set most of the properties, but am struggling with Strikeout and Underline. So far I have: System.Drawing.Font font = FontFromLegacyCode(); System.Windows.Controls.Label label = new System.Windows.Controls.Label(); label.FontFamily = new System.Windows.Media.FontFamily( font.Name ); label.FontWeight = font.Bold ? System.Windows