Exemplo n.º 1
0
        public override void Changed(UITextView textView)
        {
            TextViewDidChange?.Invoke();

            // When the `MarkedTextRange` property of the UITextView is not null
            // then it means that the user is in the middle of inputting a multistage character.
            // Hold off on editing the attributedText until they are done.
            // Source: https://stackoverflow.com/questions/31430308/uitextview-attributedtext-with-japanese-keyboard-repeats-input
            if (textView.MarkedTextRange != null)
            {
                return;
            }

            TextChanged.Raise(this);
        }
Exemplo n.º 2
0
 public void OnTextChanged(ICharSequence sequence, int start, int before, int count)
 {
     TextChanged?.Raise(this);
 }
Exemplo n.º 3
0
 private void ToolStripSpringTextBoxOnTextChanged(object sender, EventArgs eventArgs)
 {
     TextChanged.Raise(this, EventArgs.Empty);
 }
Exemplo n.º 4
0
 public virtual void OnTextChanged(Object sender, TextChangeEventArgs e)
 {
     TextChanged.Raise(this, e);
 }
Exemplo n.º 5
0
        private void Editor_TextChanged(object sender, TextChangedEventArgs e)
        {
            CheckHeight();

            TextChanged?.Raise(sender, e);
        }
Exemplo n.º 6
0
 public virtual void OnTextChanged(Object sender, TextChangeEventArgs e)
 {
     NotifyValueChanged("Text", Text);
     TextChanged.Raise(this, e);
 }
 public void DidChange(UITextView textView)
 => TextChanged.Raise(this);
Exemplo n.º 8
0
Arquivo: Label.cs Projeto: masums/Crow
 public virtual void OnTextChanged(Object sender, TextChangeEventArgs e)
 {
     textMeasureIsUpToDate = false;
     NotifyValueChanged("Text", Text);
     TextChanged.Raise(this, e);
 }