Beispiel #1
0
 private static void OnInfoStripsChanged(XamDataChart chart, ChartInfoStripsBehavior oldValue, ChartInfoStripsBehavior newValue)
 {
     if (chart == null)
     {
         return;
     }
     if (oldValue != null)
     {
         oldValue.OnDetach(chart);
     }
     if (newValue != null)
     {
         newValue.OnAttach(chart);
     }
 }
Beispiel #2
0
 public static void SetChartInfoStrips(DependencyObject target, ChartInfoStripsBehavior behavior)
 {
     target.SetValue(ChartInfoStripsProperty, behavior);
 }