Exemple #1
0
 private void OnFormatMappingChanged(object sender, FormatItemsEventArgs e)
 {
     if (e.ChangedItems.Contains(GuidelineColorDefinition.Name))
     {
         _brush = GetGuidelineBrushFromFontsAndColors();
         BrushChanged?.Invoke(this, _brush);
     }
 }
Exemple #2
0
 /// <summary>
 /// Rasises the BrushChanged event
 /// </summary>
 /// <param name="brush"></param>
 protected virtual void OnBrushChanged(Brush brush)
 {
     BrushChanged?.Invoke(this, brush);
 }