private static void ValueTresholdPropertyChange(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            BasicMeter control = d as BasicMeter;

            control.ValueTreshold = (Double)e.NewValue;
        }
        private static void MinorStepCountPropertyChange(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            BasicMeter control = d as BasicMeter;

            control.MinorStepCount = (Int32)e.NewValue;
        }
        private static void ValueRoundPropertyChange(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            BasicMeter control = d as BasicMeter;

            control.ValueRound = (Int32)e.NewValue;
        }
        private static void ScaleColorPropertyChange(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            BasicMeter control = d as BasicMeter;

            control.ScaleColor = (Brush)e.NewValue;
        }