/// <summary>
        /// The type of Mark has changed, show the new look.
        /// </summary>
        /// <param name="dependency">The dependency.</param>
        /// <param name="e">The <see cref="System.Windows.DependencyPropertyChangedEventArgs"/> instance containing the event data.</param>
        private static void MarkChanged(DependencyObject dependency, DependencyPropertyChangedEventArgs e)
        {
            BidirectionalDial instance = dependency as BidirectionalDial;

            if (instance != null)
            {
                instance.UpdateScaleMark();
                instance.OnPropertyChanged("Mark");
            }
        }
        /// <summary>
        /// The needle color range changed, handle it
        /// </summary>
        /// <param name="dependancy">The dependancy.</param>
        /// <param name="args">The <see cref="System.Windows.DependencyPropertyChangedEventArgs"/> instance containing the event data.</param>
        private static void NeedleColorRangeChanged(DependencyObject dependancy, DependencyPropertyChangedEventArgs args)
        {
            BidirectionalDial instance = dependancy as BidirectionalDial;

            instance.RegisterNeedleColorRangeEvent();
            if (instance != null && instance.DashboardLoaded)
            {
                instance.UpdateNeedleColor();
                instance.OnPropertyChanged("NeedleColorRange");
            }
        }