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); } }
public static void SetChartInfoStrips(DependencyObject target, ChartInfoStripsBehavior behavior) { target.SetValue(ChartInfoStripsProperty, behavior); }