Exemplo n.º 1
0
        private static void OnIsOpenChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            MultiLineTextEditor multiLineTextEditor = o as MultiLineTextEditor;

            if (multiLineTextEditor != null)
            {
                multiLineTextEditor.OnIsOpenChanged(( bool )e.OldValue, ( bool )e.NewValue);
            }
        }
Exemplo n.º 2
0
        private static void OnTextChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            MultiLineTextEditor textEditor = o as MultiLineTextEditor;

            if (textEditor != null)
            {
                textEditor.OnTextChanged(( string )e.OldValue, ( string )e.NewValue);
            }
        }