void HandleEnded(object sender, EventArgs e)
        {
            _textView.Ended += HandleEnded;

            _controller.TextChanged(_textView.Text.Replace('\r', '\n'));

            Unfocus();
            _controller.LostFocus();
        }
Exemple #2
0
        void HandleEditingChangedPassword(object sender, RoutedEventArgs e)
        {
            if (_internalTextChange)
            {
                return;
            }

            String newText = _passwordField.Password;

            string text = _controller.TextChanged(newText);

            if (text != newText)
            {
                SetText(text);
            }
        }
        void HandleEditingChanged(object sender, EventArgs e)
        {
            if (_internalTextChange)
            {
                return;
            }

            String newText = _textField.Text;

            string text = _controller.TextChanged(newText);

            if (text != newText)
            {
                SetText(text);
            }
        }