© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
1 reply
mario12136

❔ 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...
Two-way binding in AvalonEdit doesn't work
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ How to use a readonly property for binding [AvalonEdit]?
C#CC# / help
3y ago
❔ How to create commands for my subclassed AvalonEdit control?
C#CC# / help
3y ago
Blazor "auto-bindable" property source generator
C#CC# / help
3y ago
❔ How to can I create a TextChanged event handler for this current text box property?
C#CC# / help
3y ago