
Have implemented a class with property Text that supports INotofyPropertyChanged
Trying to bind it to the SyntaxEditor.
Thried these 3 differen scenarios (at different times.
Have implemented a class with property Text that supports INotofyPropertyChanged
Trying to bind it to the SyntaxEditor.
Thried these 3 differen scenarios (at different times.
Hi Jack,
I'm not sure without debugging it. If you'd like us to take a look, please make a new simple sample project that shows this happening and email that to our support address. In your email, reference this thread and be sure to rename the .zip file extension so it doesn't get spam blocked. Thanks!
So you are saying it should work with a POC and any property not just a dependency property?
I would think so since as long as IsTextDataBindingEnabled = true, and the SyntaxEditor.Text property setter is called, it should update from your property to the SyntaxEditor.
For the other way around, I did notice that you didn't set a Mode=TwoWay on the last binding. Perhaps that's the reason it's not working for you? TextBox.Text property might be set up to two-way bind by default, which would mean you wouldn't need it there. But you would need it in our case.
Please log in to a validated account to post comments.