views:

38

answers:

2

I have a class with a int property called X. I binded it to Left property of a textBox. But when I change my class X value, textBox does not move. What to do to inform binding that my property value has changed so that textBox will move right?

+4  A: 

You should implement the INotifyPropertyChanged interface.

Fernando
+3  A: 

Implement INotifyPropertyChanged.

Mark Seemann