private static void OnFillPropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e) { PolarAxisPlotBandAnnotation annotation = sender as PolarAxisPlotBandAnnotation; annotation.presenter.Fill = e.NewValue as Brush; }
private static void OnToPropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e) { PolarAxisPlotBandAnnotation annotation = sender as PolarAxisPlotBandAnnotation; annotation.model.To = annotation.To; }