private static void BorderColorChanged(DependencyObject dependency, DependencyPropertyChangedEventArgs args)
        {
            DigitalScoreboard board  = (DigitalScoreboard)dependency;
            Border            border = board.ScoreBorder;

            border.BorderBrush = new SolidColorBrush((Color)args.NewValue);
        }
        private static void TextColorChanged(DependencyObject dependency, DependencyPropertyChangedEventArgs args)
        {
            DigitalScoreboard board   = (DigitalScoreboard)dependency;
            TextBlock         content = board.ContentTextBlock;

            content.Foreground = new SolidColorBrush((Color)args.NewValue);
        }
        private static void ScoreboardTextChanged(DependencyObject dependency, DependencyPropertyChangedEventArgs args)
        {
            DigitalScoreboard board   = (DigitalScoreboard)dependency;
            TextBlock         content = board.ContentTextBlock;

            content.Text = args.NewValue.ToString();
        }