private static void OnIsValidValuePropertyChanged(DependencyObject source, DependencyPropertyChangedEventArgs e)
        {
            CoderDecimalTextBox control = source as CoderDecimalTextBox;

            if (control != null)
            {
                control.UpdateIsValidBackgroundColor();
            }
        }
        private static void OnDecimalValuePropertyChanged(DependencyObject source, DependencyPropertyChangedEventArgs e)
        {
            CoderDecimalTextBox control = source as CoderDecimalTextBox;

            if (control != null)
            {
                control.UpdateControlFromDp();
            }
        }