コード例 #1
0
        private void MenuItem_Czcionka_Click(object sender, RoutedEventArgs e)
        {
            Font font = Font.ExtractFrom(textBox);

            if (WindowsFormsHelper.ChooseFont(ref font))
            {
                font.ApplyTo(textBox);
            }
        }