예제 #1
0
        private static void TextBoxWFElementChangedCallback(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            logger.I("Amun's properties changed: from " + e.OldValue + " to " + e.NewValue);
            AmunTextBox ctrl = d as AmunTextBox;

            ctrl.SetupTextBoxWFProperties();
        }
예제 #2
0
        private static void TabStopSourceCallback(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            logger.I("Amun's tab stop source changed!");
            AmunTextBox       ctrl     = d as AmunTextBox;
            IEnumerable <int> oldValue = (IEnumerable <int>)e.OldValue;
            IEnumerable <int> newValue = (IEnumerable <int>)e.NewValue;

            ctrl.OnTabStopSourceChanged(oldValue, newValue);
        }
예제 #3
0
        private static void TextChangedCallback(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            AmunTextBox ctrl = d as AmunTextBox;

            logger.I("Amun's Text changed: IsNeedUpdateTextBoxWFElement = " + ctrl.IsNeedUpdateTextBoxWFElement);

            if (ctrl.IsNeedUpdateTextBoxWFElement)
            {
                ctrl.UpdateText(e.NewValue as string);
            }
        }