I have a databound textbox. When I change the text via the text Property it automatically updates the textbox but when closing out of the window and relaunching the databinding goes back to the old data. The text box is read only so I did one way binding. How do I fix the issue of the data not binding correctly?
Share
Ideally you should be changing the underlying object data, versus the
Textproperty of theTextBoxon a read-onlyTextBoxcontrol.If you want to continue using the
Textproperty you will need to set your binding asTwoWay.