Пример #1
0
        private static void OnPolarValuePropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            PolarCustomAnnotation annotation = sender as PolarCustomAnnotation;

            annotation.model.FirstValue = annotation.PolarValue;
        }
Пример #2
0
        private static void OnContentTemplatePropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            PolarCustomAnnotation annotation = sender as PolarCustomAnnotation;

            annotation.InvalidateContentTemplate();
        }
Пример #3
0
        private static void OnRadialValuePropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            PolarCustomAnnotation annotation = sender as PolarCustomAnnotation;

            annotation.model.SecondValue = annotation.RadialValue;
        }