The Text property of a TextBox can be a target of a data binding, but some potential problems are introduced. Once you allow the user to type anything into a TextBox, you need to deal with faulty input.
Suppose you want to write a program that solves quadratic equations, that is, solutions of the equation
To make the program most versatile, you’d probably supply three TextBox controls to allow the user to type in values of A, B, and C. You could then include a Button labeled “calculate” that obtains the two solutions from the standard equation:
You’d then display the solutions in a TextBlock.
With what you know about data bindings ...