I have two textboxes on a wpf window that contain numeric values; call them txt1 and txt2. I want a third textbox (txt3) to show the difference between those two values.
I created a Property in code-behind called Diff defined as:
Diff = Cdec(txt1.Text) - Cdec(txt2.Text)
and bound that value as follows:
txt3.Text={Binding Path=Diff
However, at run-time the Property Diff is not found. How do I make that value available to be bound?