private static void OnPolarValuePropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e) { PolarCustomAnnotation annotation = sender as PolarCustomAnnotation; annotation.model.FirstValue = annotation.PolarValue; }
private static void OnContentTemplatePropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e) { PolarCustomAnnotation annotation = sender as PolarCustomAnnotation; annotation.InvalidateContentTemplate(); }
private static void OnRadialValuePropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e) { PolarCustomAnnotation annotation = sender as PolarCustomAnnotation; annotation.model.SecondValue = annotation.RadialValue; }