Ejemplo n.º 1
0
        private static void OnIsDefaultAxisChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            Plotter         parentPlotter  = null;
            IPlotterElement plotterElement = d as IPlotterElement;

            if (plotterElement != null)
            {
                parentPlotter = plotterElement.Plotter;

                if (parentPlotter != null)
                {
                    parentPlotter.OnIsDefaultAxisChangedCore(d, e);
                }
            }
        }
        private static void OnIsDefaultAxisChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            //<function summary>
            // Perform the following when the default axis changes
            //</function summary>

            Plotter         parentPlotter  = null;
            IPlotterElement plotterElement = d as IPlotterElement;

            if (plotterElement != null)
            {
                parentPlotter = plotterElement.Plotter;

                if (parentPlotter != null)
                {
                    parentPlotter.OnIsDefaultAxisChangedCore(d, e);
                }
            }
        }