Ejemplo n.º 1
0
        private static void OnPolarValuePropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            PolarCustomAnnotation annotation = sender as PolarCustomAnnotation;

            annotation.model.FirstValue = annotation.PolarValue;
        }
Ejemplo n.º 2
0
        private static void OnContentTemplatePropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            PolarCustomAnnotation annotation = sender as PolarCustomAnnotation;

            annotation.InvalidateContentTemplate();
        }
Ejemplo n.º 3
0
        private static void OnRadialValuePropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            PolarCustomAnnotation annotation = sender as PolarCustomAnnotation;

            annotation.model.SecondValue = annotation.RadialValue;
        }