private static void OnPaletteHeightChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { PaletteControl control = (PaletteControl)d; control.image.Height = (double)e.NewValue; control.UpdateBitmap(); }
private static void OnPaletteChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { PaletteControl control = (PaletteControl)d; control.OnPaletteChanged(); }
private static void onPaletteLabelProviderChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { PaletteControl control = (PaletteControl)d; control.axis.LabelProvider = (ILabelProvider)e.NewValue; }
private static void OnPaletteAxisOrientationChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { PaletteControl control = (PaletteControl)d; control.axis.AxisOrientation = (AxisOrientation)e.NewValue; }