Esempio n. 1
0
 /// <inheritdoc />
 protected override void OnTextChanged(TextChangedEventArgs args)
 {
     PRichTextBox.SetModelValue(this, PRichTextBox.TextProperty, Text, EBindingSourceUpdateReason.PropertyChanged);
     base.OnTextChanged(args);
 }
Esempio n. 2
0
 /// <inheritdoc />
 protected override void OnLostFocus(EventArgs e)
 {
     PRichTextBox.SetModelValue(this, PRichTextBox.TextProperty, Text, EBindingSourceUpdateReason.LostFocus);
     base.OnLostFocus(e);
 }
Esempio n. 3
0
 /// <inheritdoc />
 public override void OnSelectionChanged()
 {
     PRichTextBox.SetModelValue(this, PRichTextBox.CursorIndexProperty, SelectionStart, EBindingSourceUpdateReason.PropertyChanged);
     base.OnSelectionChanged();
 }