private static void OnMinMaxChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { SizeLegendControl control = (SizeLegendControl)d; control.UpdateCanvas(); }
private static void OnColorChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { SizeLegendControl control = (SizeLegendControl)d; control.OnColorChanged(); }