❔ How to create a bindable Text property for AvalonEdit?
I am using AvalonEdit in my application and I want to create a bindable text field. I understand why the authors did not make the original Text property bindable (for performance reasons) but for my use case I need it to work.
I have checked this https://stackoverflow.com/questions/14855304/two-way-binding-in-avalonedit-doesnt-work and was wondering what is the cleanest simplest approach?
Stack Overflow
Two-way binding in AvalonEdit doesn't work
I have used AvalonEdit in my project that is based on WPF and MVVM.
After reading this post I created the following class:
public class MvvmTextEditor : TextEditor, INotifyPropertyChanged
{
pu...
1 Reply
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.