private static void OnDisplayFormatChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            NumberSpinner sender = d as NumberSpinner;

            sender.spinner.FormatString = $"{(char)sender.Format}{sender.Precision}";
        }