private static void OnReadOnlyChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            InputBase inputBase = o as InputBase;

            if (inputBase != null)
            {
                inputBase.OnReadOnlyChanged((bool)e.OldValue, (bool)e.NewValue);
            }
        }