Пример #1
0
 if (Set(ref _currentFontName, value, notify: false))
 {
     App.TryEnqueue(() =>
     {
         Document.Selection.CharacterFormat.Name = _currentFontName;
         OnPropertyChanged();
     });
 }
Пример #2
0
 if (Set(ref _currentFontName, value, notify: false))
 {
     App.TryEnqueue(() =>
     {
         Document.FontFamily = new FontFamily(_currentFontName = value);
         OnPropertyChanged();
     });
 }