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