TextEditor.Text Not Bindable

Can you please make this a dependency property instead of a regular property so we can bind to it?
TextEditor.Text property is not implemented as a DependencyProperty because it doesn’t store the text value by itself,
but delegates it to TextEditor.Lines.Text property.
It also rises INotifyPropertyChanged.PropertyChanged in its setter – this is sufficient for many data binding scenarios. If this isn’t working for you,
could you please describe what exactly you are trying to achieve with the Text property?

Kind regards,
Andrew
Hi Andrew! I have a data model where I'm storing all of the different objects and properties for my class and one of them is the text for the code. I'd like to basically be able to write something like this:

And let all the magic happen for me.
Hello Tony,
If you really need text properly to be set in XAML, you can use technique described here:
https://stackoverflow.com/questions/17214637/wpf-mvvm-with-non-dependency-properties/17214945#17214945
Let me know if it helps.
Kind regards,
Andrew