private static void OnFeaturedMeasurePropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args) { RadBulletGraph bulletGraph = sender as RadBulletGraph; bulletGraph.EnsureAllValuesInRange(); RadBulletGraphAutomationPeer peer = FrameworkElementAutomationPeer.FromElement(bulletGraph) as RadBulletGraphAutomationPeer; if (peer != null) { peer.RaiseValuePropertyChangedEvent((double)args.OldValue, (double)args.NewValue); } }
private static void OnProjectedMeasurePropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args) { RadBulletGraph bulletGraph = sender as RadBulletGraph; bulletGraph.EnsureAllValuesInRange(); }