I am developing a C# metro application in using Windows8 Release preview and implementing MVVM.
I have a Button and TextBox the button is attached to ICommand and its CanExecute depends on the TextBox value.
The TextBox Text propery is bind (TwoWay) to DependencyProperty "MyTextProperty"
The problem is that when I get the TextChanged event from the TextBox the DependencyProperty "MyTextProperty" that is attached to the text box still has the old value so the button remain disabled.
I need to get an event when MyTextProperty changes (The set accessor is not called when the user changes the text box probably the SetValue method of the DependecyObject is called and this function is not virtual).