예제 #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);
            }
        }
예제 #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);
            }
        }