Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
80
Binding text to Syntax editor document
posted

How do you bind a string property to a syntax editor document?

We previously had a textbox that we used for scripting, with the Text property bound to a string in the view model. I have now replaced this textbox with a XamSyntaxEditor but i don't see any way to bind this string property to the document within this syntaxeditor. I can see the value through code but I would rather just bind it directly as there are other parts of the code that rely on this binding.