Ejemplo n.º 1
0
 /// <summary>Invokes the text style changed event.</summary>
 /// <param name="e">The event args.</param>
 protected virtual void OnTextStyleChanged(EventArgs e)
 {
     Invalidate();
     TextStyleChanged?.Invoke(this, e);
 }
Ejemplo n.º 2
0
 /// <summary>Invokes the text style changed event.</summary>
 /// <param name="sender">The sender.</param>
 /// <param name="e">The event args.</param>
 /// <exception cref="Exception">A delegate callback throws an exception.</exception>
 protected virtual void OnTextStyleChanged(object sender, EventArgs e)
 {
     Invalidate();
     TextStyleChanged?.Invoke(sender, e);
 }