HI, Well, when using WPF you need to adapt to a different way of thinking.
I would bind the TextBox Text property to one of my properties (Model, ViewModel, Code-Behind, no matter what pleases you). Therefore, when you process CTRL + S, you simply go to the clr property, which is bound, and continue happily with all the data you need.
Hope that helps you if you need code examples, leave me a comment. Ariel
Arielbh
source share