コード例 #1
0
        private static void OnFillPropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            PolarAxisPlotBandAnnotation annotation = sender as PolarAxisPlotBandAnnotation;

            annotation.presenter.Fill = e.NewValue as Brush;
        }
コード例 #2
0
        private static void OnToPropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            PolarAxisPlotBandAnnotation annotation = sender as PolarAxisPlotBandAnnotation;

            annotation.model.To = annotation.To;
        }