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