private void OnFontTypeChanged(object sender, FontTypeChangedEventArgs args) { OnPropertyChanged(nameof(FontType)); }
/// <summary> /// Invoked on font type change. /// </summary> /// <param name="s">Object that sent event.</param> /// <param name="e">Event parameters.</param> private void OnFontTypeChanged(object s, FontTypeChangedEventArgs e) { FontChanged?.Invoke(s, new EventArgs()); }