I have a datePicker, whose Text property I have bound to a view model.
Instead of chosing UpdateSourceTrigger as propertyChanged, I am using Explicit. In the KeyDown event I calling the binding.UpdateSource() method.
The problem i am facing is, when I enter a value 30/10/1983 in the textbox, in the view model, I end up having only the value 30/10/198. I do not get the last entered number, unless I do a lostfocus or tabout.
The moment I enter the first value 3, the view model property gets notified as NULL.
Should I subscribe to some other event?
Is there something wrong which I am doing, can someone help.
Also, I am using string property in the viewmodel instead of DateTime? is this correct approach or not?
Thanks