Esempio n. 1
0
 private static void OnChartCrosshairsBehaviorChanged(XamDataChart chart, ChartCrosshairVisibilityBehavior oldValue, ChartCrosshairVisibilityBehavior newValue)
 {
     if (chart == null)
     {
         return;
     }
     if (oldValue != null)
     {
         oldValue.OnDetach(chart);
     }
     if (newValue != null)
     {
         newValue.OnAttach(chart);
     }
 }
Esempio n. 2
0
 public static void SetCrosshairVisibility(DependencyObject target, ChartCrosshairVisibilityBehavior behavior)
 {
     target.SetValue(CrosshairVisibilityProperty, behavior);
 }