private static void OnPaletteChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { DirectXColorMap owner = (DirectXColorMap)d; // todo }
private static void OnDataSourceReplaced(DependencyObject d, DependencyPropertyChangedEventArgs e) { DirectXColorMap owner = (DirectXColorMap)d; owner.OnDataSourceReplaced((DataSource)e.OldValue, (DataSource)e.NewValue); }