Exemplo n.º 1
0
        private static void OnReadOnlyChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            InputBase inputBase = o as InputBase;

            if (inputBase != null)
            {
                inputBase.OnReadOnlyChanged(( bool )e.OldValue, ( bool )e.NewValue);
            }
        }
Exemplo n.º 2
0
        private static void OnCultureInfoChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            InputBase inputBase = o as InputBase;

            if (inputBase != null)
            {
                inputBase.OnCultureInfoChanged(( CultureInfo )e.OldValue, ( CultureInfo )e.NewValue);
            }
        }