コード例 #1
0
        private static void OnPaletteHeightChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            PaletteControl control = (PaletteControl)d;

            control.image.Height = (double)e.NewValue;
            control.UpdateBitmap();
        }
コード例 #2
0
        private static void OnPaletteChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            PaletteControl control = (PaletteControl)d;

            control.OnPaletteChanged();
        }
コード例 #3
0
        private static void onPaletteLabelProviderChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            PaletteControl control = (PaletteControl)d;

            control.axis.LabelProvider = (ILabelProvider)e.NewValue;
        }
コード例 #4
0
        private static void OnPaletteAxisOrientationChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            PaletteControl control = (PaletteControl)d;

            control.axis.AxisOrientation = (AxisOrientation)e.NewValue;
        }