Пример #1
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);
            }
        }
Пример #2
0
        private static void OnTextChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            InputBase inputBase = o as InputBase;

            if (inputBase != null)
            {
                inputBase.OnTextChanged(( string )e.OldValue, ( string )e.NewValue);
            }
        }
Пример #3
0
        private static void OnIsUndoEnabledChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            InputBase inputBase = o as InputBase;

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