Ok.
I have a 'Person' class with such properties: PersonId, Name and Age. So far I've added 3 different people and set the DataContext from a List. My validation rules are working ok.
What I want to know is, when I enter the second person's name in the first TextBox I want the second TextBox to show this person Age.
For example, let's say I have this DataContext:
- John, 25 years old
- Paul, 30 years old
- George, 28 years old
As soon as I type 'Paul', the second TextBox should change it's value to '30'; If I type 'John', the second TextBox should change to '25' and so on.
Thanks in advance, Tiago