private static void OnDescriptionChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { CartesianMarkerGraph mg = (CartesianMarkerGraph)d; mg.Sources["Y"].Description = (string)e.NewValue; }
private static void OnXChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { CartesianMarkerGraph mg = (CartesianMarkerGraph)d; mg.Sources["X"].Data = e.NewValue; }
private static void OnYChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { CartesianMarkerGraph mg = (CartesianMarkerGraph)d; mg.OnYChanged(e.OldValue, e.NewValue); }